//
// sub_1006EB020 from 0x1006eb020 to 0x1006eb0f6 (214 bytes)
//
// 4 xrefs:
// > sub_1006EB100 @ 0x1006eb105
// > sub_1006EB110 @ 0x1006eb11c
// > sub_1006EB130 @ 0x1006eb139
// > sub_1006EB150 @ 0x1006eb163
//
// This function is hookable on this platform (idp: pc, 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 12:35:49 +0000
//
__int64 __fastcall sub_1006EB020(__int64 a1)
{
_DWORD *v2; // rdi
_DWORD *v3; // rdi
*(_QWORD *)a1 = off_100B948B8;
*(_QWORD *)(a1 + 320) = off_100B94E18;
*(_QWORD *)(a1 + 328) = &off_100B94E88;
*(_QWORD *)(a1 + 336) = off_100B94EA0;
*(_QWORD *)(a1 + 344) = off_100B94EC0;
*(_QWORD *)(a1 + 352) = off_100B94EE8;
*(_QWORD *)(a1 + 408) = off_100B94F18;
*(_QWORD *)(a1 + 432) = off_100B94F98;
*(_QWORD *)(a1 + 544) = off_100B94FB8;
*(_QWORD *)(a1 + 664) = off_100B95000;
v2 = *(_DWORD **)(a1 + 672);
if ( v2 )
cocos2d::CCObject::release(v2);
v3 = *(_DWORD **)(a1 + 752);
if ( v3 )
cocos2d::CCObject::release(v3);
if ( (*(_BYTE *)(a1 + 720) & 1) != 0 )
operator delete(*(void **)(a1 + 736));
return sub_1004936F0(a1);
}