//
// sub_1003AE798 from 0x1003ae798 to 0x1003ae81c (132 bytes)
//
// 1 xrefs:
// > sub_1003A6408 @ 0x1003a6420
//
// This function is hookable on this platform (idp: arm, 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 11:03:52 +0000
//
double __fastcall sub_1003AE798(__int64 a1)
{
__int64 v1; // x0
v1 = cocos2d::CCLayer::CCLayer(a1);
*(_QWORD *)v1 = off_100945948;
*(_QWORD *)(v1 + 320) = off_100945E00;
*(_QWORD *)(v1 + 328) = &off_100945E70;
*(_QWORD *)(v1 + 336) = off_100945E88;
*(_QWORD *)(v1 + 344) = &off_100945EA8;
*(_QWORD *)(v1 + 352) = off_100945ED0;
*(_QWORD *)(v1 + 408) = off_100945F00;
*(_QWORD *)(v1 + 416) = &off_100945F48;
*(_QWORD *)(v1 + 424) = &off_100945F60;
*(_OWORD *)(v1 + 432) = xmmword_10075D1D0;
*(_QWORD *)(v1 + 448) = 0xFFFFFFFF00000000LL;
*(_QWORD *)(v1 + 480) = 0;
*(_BYTE *)(v1 + 488) = 0;
*(_QWORD *)(v1 + 456) = 0;
*(_QWORD *)(v1 + 464) = 0;
*(_DWORD *)(v1 + 492) = -1;
*(_QWORD *)(v1 + 504) = 0;
*(_QWORD *)(v1 + 512) = 0;
*(_QWORD *)(v1 + 496) = 0;
return NAN;
}