// // cocos2d::CCMenuItemToggle::create from 0x1003aa420 to 0x1003aa545 (293 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::create(__int64 a1) { __int64 v1; // rax char *v2; // rbx __int64 v3; // rax float v5[8]; // [rsp+0h] [rbp-20h] BYREF *(_QWORD *)v5 = v1; v2 = (char *)operator new(0x188u); cocos2d::CCNodeRGBA::CCNodeRGBA((__int64)v2); *((_WORD *)v2 + 169) = 0; *(_OWORD *)(v2 + 344) = 0; *(_OWORD *)(v2 + 360) = 0; *(_QWORD *)v2 = off_100B33CA0; *((_QWORD *)v2 + 40) = off_100B34100; *((_DWORD *)v2 + 94) = 0; *((_QWORD *)v2 + 48) = 0; sub_100278250(v5, 0.5, 0.5); (*(void (__fastcall **)(char *, float *))(*(_QWORD *)v2 + 296LL))(v2, v5); *(_OWORD *)(v2 + 344) = 0; *((_QWORD *)v2 + 45) = 0; *((_WORD *)v2 + 169) = 256; v3 = sub_1007FE900(v2); (*(void (__fastcall **)(char *, __int64))(*(_QWORD *)v2 + 1096LL))(v2, v3); if ( a1 ) sub_1007FEBF0(*((_QWORD *)v2 + 48), a1); *((_DWORD *)v2 + 94) = -1; (*(void (__fastcall **)(char *, _QWORD))(*(_QWORD *)v2 + 1080LL))(v2, 0); (*(void (__fastcall **)(char *, __int64))(*(_QWORD *)v2 + 984LL))(v2, 1); (*(void (__fastcall **)(char *, __int64))(*(_QWORD *)v2 + 936LL))(v2, 1); cocos2d::CCObject::autorelease(v2); return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source