// // GameObject::setVisible from 0x44baf8 to 0x44bbae (182 bytes) // // 2 xrefs: // > PlayerObject::setVisible @ 0x4344d8 // > EndPortalObject::setVisible @ 0x508218 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:48:34 +0000 // int __fastcall GameObject::setVisible(GameObject *this, int a2) { int v4; // r0 int v5; // r0 int v6; // r1 int result; // r0 if ( *((_BYTE *)this + 676) && a2 != (*(int (__fastcall **)(GameObject *))(*(_DWORD *)this + 176))(this) ) { if ( a2 ) { if ( !*((_DWORD *)this + 165) ) (*(void (__fastcall **)(GameObject *))(*(_DWORD *)this + 700))(this); } else { (*(void (__fastcall **)(GameObject *))(*(_DWORD *)this + 704))(this); } v4 = *((_DWORD *)this + 165); if ( v4 ) { (*(void (__fastcall **)(int, int))(*(_DWORD *)v4 + 172))(v4, a2); if ( a2 ) { if ( *((_DWORD *)this + 223) != 2065 || !(*(int (__fastcall **)(GameObject *))(*(_DWORD *)this + 864))(this) ) cocos2d::CCParticleSystem::resetSystem(*((cocos2d::CCParticleSystem **)this + 165)); (*(void (__fastcall **)(GameObject *))(*(_DWORD *)this + 708))(this); } else { cocos2d::CCParticleSystem::stopSystem(*((cocos2d::CCParticleSystem **)this + 165)); } } } cocos2d::CCSprite::setVisible(this, a2); v5 = *((_DWORD *)this + 160); if ( v5 ) { if ( a2 ) v6 = *((unsigned __int8 *)this + 884) ^ 1; else v6 = 0; (*(void (__fastcall **)(int, int))(*(_DWORD *)v5 + 172))(v5, v6); } result = *((_DWORD *)this + 189); if ( result ) return (*(int (__fastcall **)(int, int))(*(_DWORD *)result + 172))(result, a2); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source