//
// LoadingLayer::dLoadingLayer from 0x1001d6e70 to 0x1001d6ec4 (84 bytes)
//
// 4 xrefs:
// > j_LoadingLayer::dLoadingLayer @ 0x1001d6ec8
// > sub_1001D6ECC @ 0x1001d6ed0
// > sub_1001D6ED4 @ 0x1001d6edc
// > sub_1001D6EE8 @ 0x1001d6ef4
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall LoadingLayer::dLoadingLayer(__int64 a1)
{
*(_QWORD *)a1 = off_1007BEBA8;
*(_QWORD *)(a1 + 320) = off_1007BF028;
*(_QWORD *)(a1 + 328) = &off_1007BF098;
*(_QWORD *)(a1 + 336) = off_1007BF0B0;
*(_QWORD *)(a1 + 344) = &off_1007BF0D0;
*(_QWORD *)(a1 + 352) = off_1007BF0F0;
cocos2d::CCNode::removeAllChildrenWithCleanup((cocos2d::CCNode *)a1, 1);
return cocos2d::CCLayer::dCCLayer((_QWORD *)a1);
}