//
// sub_1004A2F80 from 0x1004a2f80 to 0x1004a3095 (277 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:30:53 +0000
//
__int64 __fastcall sub_1004A2F80(__int64 a1)
{
cocos2d::extension::CCControlButton::CCControlButton(a1);
cocos2d::CCIMEDelegate::CCIMEDelegate(a1 + 568);
*(_QWORD *)a1 = off_100B52160;
*(_QWORD *)(a1 + 320) = off_100B527A8;
*(_QWORD *)(a1 + 328) = &off_100B52818;
*(_QWORD *)(a1 + 336) = off_100B52830;
*(_QWORD *)(a1 + 344) = off_100B52850;
*(_QWORD *)(a1 + 352) = off_100B52878;
*(_QWORD *)(a1 + 408) = off_100B528A8;
*(_QWORD *)(a1 + 568) = off_100B52928;
*(_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;
}