// // GameObject::activateObject from 0x1002561dc to 0x1002562bc (224 bytes) // // 47 xrefs: // > AnimatedGameObject::activateObject @ 0x100383e5c // > @ 0x1007c40c0 // > @ 0x1007cfd90 // > @ 0x1007d0578 // > @ 0x1007d0d88 // > @ 0x1007f5e30 // > @ 0x1007f6628 // > @ 0x1007f6e20 // > @ 0x1007f7618 // > @ 0x1007f7e10 // > @ 0x1007f8608 // > @ 0x1007f8e00 // > @ 0x1007f95e8 // > @ 0x1007f9df8 // > @ 0x1007fa660 // > @ 0x1007fae70 // > @ 0x1007fb680 // > @ 0x1007fbe90 // > @ 0x1007fc6a0 // > @ 0x1007fceb0 // > @ 0x1007fd6c0 // > @ 0x1007fded0 // > @ 0x1007fe6e0 // > @ 0x1007feef0 // > @ 0x1007ff718 // > @ 0x1007fff70 // > @ 0x100800798 // > @ 0x100800fc0 // > @ 0x1008017e8 // > @ 0x100802010 // > @ 0x100802820 // > @ 0x100803030 // > @ 0x100803840 // > @ 0x100804050 // > @ 0x100804860 // > @ 0x100805070 // > @ 0x100805880 // > @ 0x100806090 // > @ 0x1008068a0 // > @ 0x1008070b0 // > @ 0x1008078c0 // > @ 0x1008080d0 // > @ 0x1008088e0 // > @ 0x1008090f0 // > @ 0x100809900 // > @ 0x10080a110 // > @ 0x100816430 // // 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::activateObject(GameObject *a1) { ZLayer m_zLayer; // w20 _BOOL4 m_editorEnabled; // w21 GameManager *v4; // x0 __int64 v5; // x8 cocos2d::CCNode *v6; // x0 a1->m_unk3ee = 0; if ( !a1->m_isActivated && !a1->m_isDisabled ) { a1->m_isActivated = 1; if ( !a1->m_isInvisible ) { ((void (__fastcall *)(GameObject *, __int64))a1->setVisible)(a1, 1); ((void (__fastcall *)(GameObject *, _QWORD))a1->addMainSpriteToParent)(a1, 0); if ( a1->m_glowSprite ) { m_zLayer = a1->m_zLayer; if ( !m_zLayer ) m_zLayer = a1->m_defaultZLayer; m_editorEnabled = a1->m_editorEnabled; v4 = GameManager::sharedState(); v5 = 504; if ( m_editorEnabled ) v5 = 512; v6 = GJBaseGameLayer::parentForZLayer( *(GJBaseGameLayer **)((char *)&v4->__vftable + v5), m_zLayer, 1, 5, a1->m_isUIObject); ((void (__fastcall *)(cocos2d::CCNode *, cocos2d::CCSprite *, __int64))v6->addChild_0)( v6, a1->m_glowSprite, 4294966296LL); } GameObject::addColorSpriteToParent(a1, 0); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source