// // GameObject::deactivateObject from 0x1005aa280 to 0x1005aa375 (245 bytes) // // 5 xrefs: // > @ 0x1008c7d80 // > @ 0x100923848 // > @ 0x100933c10 // > @ 0x1009718f8 // > @ 0x1009728f0 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void __fastcall GameObject::deactivateObject(GameObject *a1, bool a2) { cocos2d::CCSprite *m_glowSprite; // rdi cocos2d::CCSprite *m_colorSprite; // rdi if ( a2 ) { a1->m_unk3ee = 1; } else if ( !a1->m_unk3ee ) { a1->m_unk3ee = 1; return; } if ( a1->m_isActivated ) { a1->m_isActivated = 0; ((void (__fastcall *)(GameObject *, _QWORD))a1->setVisible)(a1, 0); ((void (__fastcall *)(GameObject *, _QWORD))a1->removeFromParentAndCleanup)(a1, 0); a1->m_baseOrDetailBlending = 0; if ( a1->m_enterType != -1 || a1->m_exitType != -1 ) { *(_DWORD *)&a1->m_enterType = -1; a1->m_unk3E8 = 1; ((void (__fastcall *)(GameObject *, float))a1->setRScaleX)(a1, 1.0); ((void (__fastcall *)(GameObject *, float))a1->setRScaleY)(a1, 1.0); } m_glowSprite = a1->m_glowSprite; if ( m_glowSprite ) ((void (__fastcall *)(cocos2d::CCSprite *, _QWORD))m_glowSprite->removeFromParentAndCleanup)(m_glowSprite, 0); m_colorSprite = a1->m_colorSprite; if ( m_colorSprite ) { if ( !a1->m_unk28c ) ((void (__fastcall *)(cocos2d::CCSprite *, _QWORD))m_colorSprite->removeFromParentAndCleanup)(m_colorSprite, 0); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source