//
// sub_100526970 from 0x100526970 to 0x1005269fc (140 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009a0bf8
//
// 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:07:15 +0000
//
__int64 __fastcall sub_100526970(__int64 a1)
{
_QWORD *v2; // x19
void *v3; // x0
v2 = (_QWORD *)(a1 - 408);
*(_QWORD *)(a1 - 408) = off_1009A0658;
*(_QWORD *)(a1 - 88) = off_1009A0AF8;
*(_QWORD *)(a1 - 80) = &off_1009A0B68;
*(_QWORD *)(a1 - 72) = off_1009A0B80;
*(_QWORD *)(a1 - 64) = &off_1009A0BA0;
*(_QWORD *)(a1 - 56) = off_1009A0BC8;
*(_QWORD *)a1 = off_1009A0BF8;
sub_1000187C4(a1 + 232, *(_QWORD **)(a1 + 240));
v3 = *(void **)(a1 + 208);
if ( v3 )
{
*(_QWORD *)(a1 + 216) = v3;
operator delete(v3);
}
sub_1000187C4(a1 + 144, *(_QWORD **)(a1 + 152));
sub_1000187C4(a1 + 120, *(_QWORD **)(a1 + 128));
return cocos2d::CCLayer::dCCLayer(v2);
}