// // UILayer::togglePlatformerMode from 0x1004c86f0 to 0x1004c8766 (118 bytes) // // 2 xrefs: // > PlayLayer::setupHasCompleted @ 0x1000adf63 // > LevelEditorLayer::onPlaytest @ 0x1000f21e0 // // 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 UILayer::togglePlatformerMode(UILayer *a1, bool a2) { GameManager *v2; // rax unsigned int v3; // r14d __int64 v4; // rax a1->m_inPlatformer = a2; if ( a2 ) { v2 = GameManager::sharedState(); GameManager::getGameVariable(v2, "0024"); } if ( (unsigned int)sub_100720070(a1->m_uiNodes) ) { v3 = 0; do { v4 = sub_1007200C0(a1->m_uiNodes, v3); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v4 + 328LL))(v4, 0); ++v3; } while ( v3 < (unsigned int)sub_100720070(a1->m_uiNodes) ); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source