// // cocos2d::CCMenuItemToggle::initWithItem from 0x1003aa350 to 0x1003aa413 (195 bytes) // // 0 xrefs: // // 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:23 +0000 // char __fastcall cocos2d::CCMenuItemToggle::initWithItem(__int64 a1, __int64 a2) { __int64 v2; // rax __int64 v3; // rax float v5[8]; // [rsp+0h] [rbp-20h] BYREF *(_QWORD *)v5 = v2; sub_100278250(v5, 0.5, 0.5); (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)a1 + 296LL))(a1, v5); *(_OWORD *)(a1 + 344) = 0; *(_QWORD *)(a1 + 360) = 0; *(_WORD *)(a1 + 338) = 256; v3 = sub_1007FE900(a1); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1096LL))(a1, v3); if ( a2 ) sub_1007FEBF0(*(_QWORD *)(a1 + 384), a2); *(_DWORD *)(a1 + 376) = -1; (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 1080LL))(a1, 0); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 984LL))(a1, 1); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 936LL))(a1, 1); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source