// // TouchControlEditLayer::onApplyGlobal from 0xd08548 to 0xd086a0 (344 bytes) // // 3 xrefs: // > @ 0x9b278 // > TouchControlEditLayer::buildHud @ 0xd05938 // > @ 0x1544418 // // 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:57 +0000 // __int64 __fastcall TouchControlEditLayer::onApplyGlobal(TouchControlEditLayer *this, cocos2d::CCObject *a2) { __int64 *v3; // x0 __int64 v4; // x3 void (__fastcall *v5)(TouchControlEditLayer *, __int64, __int64); // x23 __int64 v6; // x0 __int64 v8[2]; // [xsp+48h] [xbp+48h] BYREF void *v9; // [xsp+58h] [xbp+58h] __int64 v10[2]; // [xsp+60h] [xbp+60h] BYREF void *v11; // [xsp+70h] [xbp+70h] if ( *((_QWORD *)this + 127) ) { v3 = LevelControlConfig::createFromGlobal((LevelControlConfig *)*((unsigned __int8 *)this + 1012)); TouchControlEditLayer::copyTouchFrom(this, (LevelControlConfig *)v3); *((_BYTE *)this + 1336) = 1; TouchControlEditLayer::reloadNodes(this); v8[0] = 0; v4 = *(_QWORD *)this; v8[1] = 0; v5 = *(void (__fastcall **)(TouchControlEditLayer *, __int64, __int64))(v4 + 464); v9 = nullptr; std::string::__init(v8, "Global controls applied", 0x17u); v10[0] = 0; v10[1] = 0; v11 = nullptr; std::string::__init(v10, &byte_11B8890, 0); v6 = TextAlertPopup::create((char *)v8, 150, (char *)v10, 0.5, 0.6); v5(this, v6, 100); if ( (v10[0] & 1) != 0 ) { operator delete(v11); if ( (v8[0] & 1) == 0 ) return _stack_chk_guard; } else if ( (v8[0] & 1) == 0 ) { return _stack_chk_guard; } operator delete(v9); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source