//
// sub_1003E2170 from 0x1003e2170 to 0x1003e21d0 (96 bytes)
//
// 4 xrefs:
// > LevelAreaLayer::dLevelAreaLayer @ 0x1003e21d4
// > sub_1003E21D8 @ 0x1003e21dc
// > sub_1003E21E0 @ 0x1003e21e8
// > sub_1003E21F4 @ 0x1003e2200
//
// 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:04:23 +0000
//
__int64 __fastcall sub_1003E2170(_QWORD *a1)
{
_DWORD *v2; // x0
*a1 = off_1009496C0;
a1[40] = off_100949B58;
a1[41] = &off_100949BC8;
a1[42] = off_100949BE0;
a1[43] = &off_100949C00;
a1[44] = off_100949C28;
a1[51] = &off_100949C58;
v2 = (_DWORD *)a1[53];
if ( v2 )
cocos2d::CCObject::release(v2);
return cocos2d::CCLayer::dCCLayer(a1);
}