// // TouchControlEditLayer::onApplyGlobal from 0x7a4b1c to 0x7a4bd0 (180 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:59:56 +0000 // int __fastcall TouchControlEditLayer::onApplyGlobal(int this, cocos2d::CCObject *a2) { TouchControlEditLayer *v2; // r4 UIButtonConfig **v3; // r0 int v4; // r3 void (__fastcall *v5)(TouchControlEditLayer *, cocos2d::CCNode *, int); // r9 cocos2d::CCNode *v6; // r0 int v7[3]; // [sp+Ch] [bp-20h] BYREF int v8[3]; // [sp+18h] [bp-14h] BYREF v2 = (TouchControlEditLayer *)this; if ( *(_DWORD *)(this + 716) ) { v3 = (UIButtonConfig **)LevelControlConfig::createFromGlobal( (LevelControlConfig *)*(unsigned __int8 *)(this + 712), (bool)a2); TouchControlEditLayer::copyTouchFrom(v2, v3); *((_BYTE *)v2 + 992) = 1; TouchControlEditLayer::reloadNodes(v2); v4 = *(_DWORD *)v2; memset(v7, 0, sizeof(v7)); v5 = *(void (__fastcall **)(TouchControlEditLayer *, cocos2d::CCNode *, int))(v4 + 232); std::string::__init(v7, "Global controls applied", 0x17u); memset(v8, 0, sizeof(v8)); std::string::__init(v8, &unk_B6B226, 0); v6 = TextAlertPopup::create((int)v7, (cocos2d::CCDelayTime *)0x3F000000, 0.6, 150, (int)v8); v5(v2, v6, 100); std::string::~string((int)v8); return std::string::~string((int)v7); } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source