// // UILayer::resolveLevelControls from 0x6f0138 to 0x6f0268 (304 bytes) // // 3 xrefs: // > UILayer::refreshDpad @ 0x6f02d0 // > UILayer::editorPlaytest @ 0x6f0b08 // > @ 0x89980 // // This function is hookable on this platform (idp: arm, 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 12:51:47 +0000 // __int64 __fastcall UILayer::resolveLevelControls(UILayer *this) { cocos2d::CCObject *v2; // x0 __int64 v3; // x0 __int64 v4; // x0 int v6; // w1 __int64 v7; // x0 size_t v8; // x2 void *v9; // x1 __int64 v10; // x2 __int64 v11; // x3 cocos2d::CCObject *v12; // x0 __int64 v13; // [xsp+30h] [xbp+30h] BYREF __int64 v14; // [xsp+38h] [xbp+38h] void *v15; // [xsp+40h] [xbp+40h] v2 = *((cocos2d::CCObject **)this + 80); if ( v2 ) { cocos2d::CCObject::release(v2); *((_QWORD *)this + 80) = 0; } v3 = *((_QWORD *)this + 75); if ( v3 ) { v4 = *(_QWORD *)(v3 + 1936); if ( v4 ) { if ( *(_DWORD *)(v4 + 1840) == 1 ) { v6 = *(unsigned __int8 *)(v4 + 1816); v7 = v4 + 1816; if ( (v6 & 1) != 0 ) { v8 = *(_QWORD *)(v7 + 8); if ( !v8 ) return _stack_chk_guard; v9 = *(void **)(v7 + 16); v13 = 0; v14 = 0; v15 = nullptr; std::string::__init(&v13, v9, v8); } else { if ( !(v6 >> 1) ) return _stack_chk_guard; v10 = *(_QWORD *)v7; v11 = *(_QWORD *)(v7 + 8); v15 = *(void **)(v7 + 16); v13 = v10; v14 = v11; } if ( (v13 & 1) != 0 ) { if ( !v14 ) goto LABEL_12; } else if ( !((int)(unsigned __int8)v13 >> 1) ) { return _stack_chk_guard; } v12 = (cocos2d::CCObject *)LevelControlConfig::createFromB64(&v13); *((_QWORD *)this + 80) = v12; if ( v12 ) cocos2d::CCObject::retain(v12); if ( (v13 & 1) == 0 ) return _stack_chk_guard; LABEL_12: operator delete(v15); } } } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source