//
// sub_1004A9FB0 from 0x1004a9fb0 to 0x1004aa0c5 (277 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_1004A9FB0(__int64 a1)
{
cocos2d::extension::CCControlButton::CCControlButton(a1);
cocos2d::CCIMEDelegate::CCIMEDelegate(a1 + 568);
*(_QWORD *)a1 = off_100947360;
*(_QWORD *)(a1 + 320) = off_100947998;
*(_QWORD *)(a1 + 328) = &off_100947A08;
*(_QWORD *)(a1 + 336) = off_100947A20;
*(_QWORD *)(a1 + 344) = off_100947A40;
*(_QWORD *)(a1 + 352) = off_100947A60;
*(_QWORD *)(a1 + 408) = off_100947A88;
*(_QWORD *)(a1 + 568) = off_100947B08;
*(_OWORD *)(a1 + 576) = 0;
*(_QWORD *)(a1 + 592) = 0x400000006LL;
*(_DWORD *)(a1 + 600) = 0;
*(_OWORD *)(a1 + 608) = 0;
*(_OWORD *)(a1 + 624) = 0;
*(_OWORD *)(a1 + 640) = 0;
*(_OWORD *)(a1 + 656) = 0;
*(_OWORD *)(a1 + 672) = 0;
*(_OWORD *)(a1 + 688) = 0;
*(_DWORD *)(a1 + 711) = -1;
*(_QWORD *)(a1 + 704) = -1;
*(_BYTE *)(a1 + 717) = -90;
*(_WORD *)(a1 + 715) = -22874;
*(_QWORD *)(a1 + 720) = 0;
*(_DWORD *)(a1 + 728) = 0;
return 0x400000006LL;
}