// // PlatformerControlsPopup::onApplyCreator from 0xcfc4c4 to 0xcfc66c (424 bytes) // // 3 xrefs: // > @ 0xcdb10 // > PlatformerControlsPopup::init @ 0xcfb20c // > @ 0x15460c8 // // 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 13:06:51 +0000 // __int64 __fastcall PlatformerControlsPopup::onApplyCreator(PlatformerControlsPopup *this, cocos2d::CCObject *a2) { __int64 v3; // x21 int v4; // w2 size_t v5; // x2 const void *v6; // x1 __int64 *v7; // x0 cocos2d::CCObject *v8; // x0 LevelControlConfig *v9; // x0 __int64 v10; // x3 void (__fastcall *v11)(PlatformerControlsPopup *, __int64, __int64); // x23 __int64 v12; // x0 __int64 v14[2]; // [xsp+48h] [xbp+48h] BYREF void *v15; // [xsp+58h] [xbp+58h] __int64 v16[2]; // [xsp+60h] [xbp+60h] BYREF void *v17; // [xsp+70h] [xbp+70h] v3 = *((_QWORD *)this + 131); if ( v3 ) { v4 = *(unsigned __int8 *)(v3 + 1784); if ( (v4 & 1) != 0 ) { v5 = *(_QWORD *)(v3 + 1792); if ( !v5 ) return _stack_chk_guard; v6 = *(const void **)(v3 + 1800); v7 = (__int64 *)(v3 + 1816); } else { LODWORD(v5) = v4 >> 1; if ( !(_DWORD)v5 ) return _stack_chk_guard; v7 = (__int64 *)(v3 + 1816); v6 = (const void *)(v3 + 1785); v5 = (int)v5; } std::string::assign(v7, v6, v5); *(_BYTE *)(v3 + 1844) = 0; *(_DWORD *)(v3 + 1840) = 1; v8 = *((cocos2d::CCObject **)this + 133); if ( v8 ) { cocos2d::CCObject::release(v8); *((_QWORD *)this + 133) = 0; } v9 = (LevelControlConfig *)LevelControlConfig::createFromB64((char *)(*((_QWORD *)this + 131) + 1816LL)); *((_DWORD *)this + 324) = LevelControlConfig::presentClasses(v9); PlatformerControlsPopup::syncSourceUI(this); PlatformerControlsPopup::reapplyRuntime(this); v14[0] = 0; v10 = *(_QWORD *)this; v14[1] = 0; v11 = *(void (__fastcall **)(PlatformerControlsPopup *, __int64, __int64))(v10 + 464); v15 = nullptr; std::string::__init(v14, "Creator controls applied", 0x18u); v16[0] = 0; v16[1] = 0; v17 = nullptr; std::string::__init(v16, &byte_11B8890, 0); v12 = TextAlertPopup::create((char *)v14, 150, (char *)v16, 0.5, 0.6); v11(this, v12, 100); if ( (v16[0] & 1) != 0 ) operator delete(v17); if ( (v14[0] & 1) != 0 ) operator delete(v15); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source