Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void __thiscall OnRender(Algae *this)
- {
- float fVar1;
- int iVar2;
- if (0.00000000 < *(float *)&(this->super_Spreadable).super_Repairable.super_ShipObject.field_0xc)
- {
- GL_DrawRect((float)(this->super_Spreadable).super_Repairable.pLoc.x,
- (float)(this->super_Spreadable).super_Repairable.pLoc.y,35.00000000,35.00000000); //<-- Sprite size
- fVar1 = (this->super_Spreadable).super_Repairable.fMaxDamage; //<-- Damage value
- GL_DrawRect((float)(this->super_Spreadable).super_Repairable.pLoc.x,
- (float)((this->super_Spreadable).super_Repairable.pLoc.y + 0x23) - 6.00000000,
- (fVar1 - *(float *)&(this->super_Spreadable).super_Repairable.super_ShipObject.
- field_0xc) * (35.00000000 / fVar1),6.00000000);
- }
- iVar2 = (*(this->super_Spreadable).super_Repairable.super_Selectable._vptr_Selectable[3])(this);
- if (iVar2 == 0) {
- return;
- }
- // WARNING: Could not recover jumptable at 0x0047f7b2. Too many branches
- // WARNING: Treating indirect jump as call
- (*(this->super_Spreadable).super_Repairable.super_Selectable._vptr_Selectable[0x13])(this);
- return;
- }
Advertisement
Add Comment
Please, Sign In to add comment