// // PlayLayer::removeCheckpoint from 0x100120e88 to 0x100120f6c (228 bytes) // // 4 xrefs: // > UILayer::onDeleteCheck @ 0x10004961c // > PlayLayer::storeCheckpoint @ 0x100120e78 // > PlayLayer::removeAllCheckpoints @ 0x1001215c4 // > PlayerObject::removePlacedCheckpoint @ 0x100227b60 // // 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::removeCheckpoint(PlayLayer *a1, bool a2) { _BOOL4 v2; // w20 cocos2d::CCArray *m_checkpointArray; // x0 __int64 v5; // x0 GameObject *v6; // x21 cocos2d::CCArray *v7; // x0 __int64 v8; // x20 v2 = a2; if ( (unsigned int)sub_10024A36C(a1->m_checkpointArray) ) { m_checkpointArray = a1->m_checkpointArray; if ( v2 ) v5 = sub_10024A388(m_checkpointArray, 0); else v5 = sub_10024A398(m_checkpointArray); v6 = *(GameObject **)(v5 + 3104); GJBaseGameLayer::removeObjectFromSection(a1, v6); GameObject::removeGlow(v6); ((void (__fastcall *)(GameObject *))v6->removeMeAndCleanup)(v6); v7 = a1->m_checkpointArray; if ( v2 ) { sub_10024A44C(v7, 0, 1); } else { sub_10024A430(v7, 1); if ( a1->m_isPlatformer && a1->m_isPracticeMode ) { if ( (unsigned int)sub_10024A36C(a1->m_checkpointArray) ) { v8 = sub_10024A398(a1->m_checkpointArray); GameObject::makeVisible(*(GameObject **)(v8 + 3104)); *(_DWORD *)(v8 + 3872) = a1->m_gameState.m_commandIndex; } } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source