// // UILayer::resolveLevelControls from 0x140670a70 to 0x140670bdc (364 bytes) // // 6 xrefs: // > LevelEditorLayer::onPlaytest @ 0x1403fe8c9 // > LevelEditorLayer::onResumePlaytest @ 0x1403ffd35 // > PlatformerControlsPopup::reapplyRuntime @ 0x14045096e // > PlayLayer::resume @ 0x14051acab // > UILayer::togglePlatformerMode @ 0x140670fe7 // > @ 0x1409322a0 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:35:54 +0000 // // Hidden C++ exception states: #wind=3 void __fastcall UILayer::resolveLevelControls(__int64 a1) { cocos2d::CCObject *v2; // rcx __int64 v3; // rdx __int64 v4; // rdx __int64 v5; // rax cocos2d::CCObject *v6; // rax _BYTE v7[16]; // [rsp+38h] [rbp-70h] BYREF __int64 v8; // [rsp+48h] [rbp-60h] _BYTE v9[32]; // [rsp+78h] [rbp-30h] BYREF v2 = *(cocos2d::CCObject **)(a1 + 640); if ( v2 ) { cocos2d::CCObject::release(v2); *(_QWORD *)(a1 + 640) = 0; } v3 = *(_QWORD *)(a1 + 600); if ( v3 ) { v4 = *(_QWORD *)(v3 + 2168); if ( v4 ) { if ( *(_DWORD *)(v4 + 2096) == 1 && *(_QWORD *)(v4 + 2080) ) { v5 = sub_14003F4F0((__int64)v9, v4 + 2064); sub_14003F4F0((__int64)v7, v5); sub_14003D310((__int64)v9); if ( v8 ) { v6 = (cocos2d::CCObject *)LevelControlConfig::createFromB64((__int64)v7); *(_QWORD *)(a1 + 640) = v6; if ( v6 ) cocos2d::CCObject::retain(v6); } sub_14003D310((__int64)v7); } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source