//
// sub_1004B4D30 from 0x1004b4d30 to 0x1004b4deb (187 bytes)
//
// 1 xrefs:
// > ??> @ 0x10094a508
//
// 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_1004B4D30(_QWORD *a1)
{
cocos2d::CCObject *v2; // rdi
cocos2d::CCObject *v3; // rdi
cocos2d::CCObject *v4; // rdi
*a1 = off_100948C20;
a1[40] = off_1009490A0;
a1[41] = &off_100949110;
a1[42] = off_100949128;
a1[43] = off_100949148;
a1[44] = off_100949168;
v2 = (cocos2d::CCObject *)a1[46];
if ( v2 )
{
cocos2d::CCObject::release(v2);
a1[46] = 0;
}
v3 = (cocos2d::CCObject *)a1[47];
if ( v3 )
{
cocos2d::CCObject::release(v3);
a1[47] = 0;
}
v4 = (cocos2d::CCObject *)a1[48];
if ( v4 )
{
cocos2d::CCObject::release(v4);
a1[48] = 0;
}
return cocos2d::CCNode::dCCNode((__int64)a1);
}