// // cocos2d::extension::CCControlSwitch::setEnabled from 0xd109a0 to 0xd109e0 (64 bytes) // // 2 xrefs: // > @ 0x6e1b8 // > @ 0x150d3e0 // // 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:07:02 +0000 // __int64 __fastcall cocos2d::extension::CCControlSwitch::setEnabled(__int64 this, char a2) { __int64 v2; // x2 __int64 v3; // x1 v2 = *(_QWORD *)(this + 472); *(_BYTE *)(this + 433) = a2; if ( v2 ) { if ( a2 ) v3 = 255; else v3 = 128; return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v2 + 912LL))(v2, v3); } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source