//
// sub_1004B2440 from 0x1004b2440 to 0x1004b2594 (340 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall sub_1004B2440(__int64 a1)
{
float v2[6]; // [rsp+8h] [rbp-18h] BYREF
cocos2d::CCNode::CCNode(a1);
*(_QWORD *)a1 = off_100948C20;
*(_QWORD *)(a1 + 320) = off_1009490A0;
*(_QWORD *)(a1 + 328) = &off_100949110;
*(_QWORD *)(a1 + 336) = off_100949128;
*(_QWORD *)(a1 + 344) = off_100949148;
*(_QWORD *)(a1 + 352) = off_100949168;
*(_DWORD *)(a1 + 360) = 0;
*(_BYTE *)(a1 + 364) = 0;
*(_OWORD *)(a1 + 368) = 0;
*(_OWORD *)(a1 + 384) = 0;
*(_DWORD *)(a1 + 400) = 0;
*(_BYTE *)(a1 + 287) = 1;
sub_10028CBE0(v2, 0.5, 0.5);
(*(void (__fastcall **)(__int64, float *))(*(_QWORD *)a1 + 280LL))(a1, v2);
*(_QWORD *)(a1 + 416) = -1;
*(_WORD *)(a1 + 424) = 0;
*(_QWORD *)a1 = off_1009497F0;
*(_QWORD *)(a1 + 320) = off_100949D08;
*(_QWORD *)(a1 + 328) = &off_100949D78;
*(_QWORD *)(a1 + 336) = off_100949D90;
*(_QWORD *)(a1 + 344) = off_100949DB0;
*(_QWORD *)(a1 + 352) = off_100949DD0;
*(_QWORD *)(a1 + 408) = off_100949DF8;
*(_QWORD *)(a1 + 432) = off_100949E78;
*(_QWORD *)(a1 + 536) = 0x30300000001LL;
return 0x30300000001LL;
}