//
// sub_100526854 from 0x100526854 to 0x1005268e0 (140 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009a0af8
//
// 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_100526854(__int64 a1)
{
_QWORD *v2; // x19
void *v3; // x0
v2 = (_QWORD *)(a1 - 320);
*(_QWORD *)(a1 - 320) = off_1009A0658;
*(_QWORD *)a1 = off_1009A0AF8;
*(_QWORD *)(a1 + 8) = &off_1009A0B68;
*(_QWORD *)(a1 + 16) = off_1009A0B80;
*(_QWORD *)(a1 + 24) = &off_1009A0BA0;
*(_QWORD *)(a1 + 32) = off_1009A0BC8;
*(_QWORD *)(a1 + 88) = off_1009A0BF8;
sub_1000187C4(a1 + 320, *(_QWORD **)(a1 + 328));
v3 = *(void **)(a1 + 296);
if ( v3 )
{
*(_QWORD *)(a1 + 304) = v3;
operator delete(v3);
}
sub_1000187C4(a1 + 232, *(_QWORD **)(a1 + 240));
sub_1000187C4(a1 + 208, *(_QWORD **)(a1 + 216));
return cocos2d::CCLayer::dCCLayer(v2);
}