// // GameObject::deactivateObject from 0x100256560 to 0x100256668 (264 bytes) // // 6 xrefs: // > EnhancedGameObject::deactivateObject @ 0x100264728 // > @ 0x1007c40c8 // > @ 0x1007cfd98 // > @ 0x1007d0d90 // > @ 0x1007f8e08 // > @ 0x100816438 // // 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; // x0 cocos2d::CCSprite *m_colorSprite; // x0 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 ( __PAIR64__(a1->m_exitType, a1->m_enterType) != -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