// // cocos2d::extension::CCControlSwitch::setEnabled from 0x1003923f0 to 0x100392426 (54 bytes) // // 1 xrefs: // > @ 0x100b30ec0 // // This function is hookable on this platform (idp: pc, 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:29:14 +0000 // __int64 __fastcall cocos2d::extension::CCControlSwitch::setEnabled(__int64 a1, char a2) { __int64 v2; // rdi bool v3; // zf __int64 v4; // rsi __int64 result; // rax *(_BYTE *)(a1 + 433) = a2; v2 = *(_QWORD *)(a1 + 472); if ( v2 ) { v3 = a2 == 0; v4 = 128; if ( !v3 ) v4 = 255; return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v2 + 912LL))(v2, v4); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source