//
// cocos2d::CCMenuItemImage::create_4 from 0x1003a9660 to 0x1003a978c (300 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 *cocos2d::CCMenuItemImage::create_4()
{
char *v0; // rbx
__int64 v1; // rdi
__int64 v2; // rax
float v4[6]; // [rsp+8h] [rbp-18h] BYREF
v0 = (char *)operator new(0x190u);
cocos2d::CCNodeRGBA::CCNodeRGBA((__int64)v0);
*((_WORD *)v0 + 169) = 0;
*(_OWORD *)(v0 + 344) = 0;
*(_OWORD *)(v0 + 360) = 0;
*(_OWORD *)(v0 + 376) = 0;
*((_QWORD *)v0 + 49) = 0;
*(_QWORD *)v0 = off_100B34BA0;
*((_QWORD *)v0 + 40) = off_100B35018;
sub_100278250(v4, 0.5, 0.5);
(*(void (__fastcall **)(char *, float *))(*(_QWORD *)v0 + 296LL))(v0, v4);
*(_OWORD *)(v0 + 344) = 0;
*((_QWORD *)v0 + 45) = 0;
*((_WORD *)v0 + 169) = 256;
(*(void (__fastcall **)(char *, _QWORD))(*(_QWORD *)v0 + 1080LL))(v0, 0);
(*(void (__fastcall **)(char *, _QWORD))(*(_QWORD *)v0 + 1096LL))(v0, 0);
(*(void (__fastcall **)(char *, _QWORD))(*(_QWORD *)v0 + 1112LL))(v0, 0);
v1 = *((_QWORD *)v0 + 47);
if ( v1 )
{
v2 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v1 + 328LL))(v1);
(*(void (__fastcall **)(char *, __int64))(*(_QWORD *)v0 + 320LL))(v0, v2);
}
(*(void (__fastcall **)(char *, __int64))(*(_QWORD *)v0 + 984LL))(v0, 1);
(*(void (__fastcall **)(char *, __int64))(*(_QWORD *)v0 + 936LL))(v0, 1);
cocos2d::CCObject::autorelease(v0);
return v0;
}