// // PlayLayer::activatePlatformerEndTrigger from 0x10011bbe4 to 0x10011bcd4 (240 bytes) // // 1 xrefs: // > @ 0x10078fd78 // // 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 PlayLayer::activatePlatformerEndTrigger( PlayLayer *a1, EndTriggerGameObject *a2, std::vector *const a3) { int m_centerGroupID; // w1 GameObject *MainObject; // x0 __int64 v7; // [xsp+0h] [xbp-30h] BYREF __int64 v8; // [xsp+8h] [xbp-28h] BYREF cocos2d::CCPoint v9; // 0:s0.4,4:s1.4 if ( !a1->m_player1->m_isDead && !a1->m_levelEndAnimationStarted ) { a1->m_platformerEndTrigger = a2; if ( a2->m_targetGroupID >= 1 ) ((void (__fastcall *)(PlayLayer *, double))a1->spawnGroup)(a1, 0.0); a1->m_levelEndAnimationStarted = 1; UILayer::disableMenu(a1->m_uiLayer); ((void (__fastcall *)(__int64 *__return_ptr, EndTriggerGameObject *))a2->getRealPosition)(&v8, a2); m_centerGroupID = a2->m_centerGroupID; if ( m_centerGroupID >= 1 ) { MainObject = GJBaseGameLayer::tryGetMainObject(a1, m_centerGroupID); if ( MainObject ) { ((void (__fastcall *)(__int64 *__return_ptr))MainObject->getRealPosition)(&v7); sub_1000229D0(&v8, (double *)&v7); } } v9.x = sub_1000229B8(&v7, &v8); PlayLayer::playPlatformerEndAnimationToPos(a1, v9, (bool)&v7); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source