//
// sub_10000F298 from 0x10000f298 to 0x10000f350 (184 bytes)
//
// 5 xrefs:
// > sub_100017780 @ 0x1000177a0
// > sub_10014136C @ 0x1001413f4
// > sub_1003F823C @ 0x1003f82f0
// > LevelEditorLayer::onPlaytest @ 0x100404708
// > LevelEditorLayer::onStopPlaytest @ 0x10040555c
//
// 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 10:57:15 +0000
//
__int64 __fastcall sub_10000F298(_QWORD *a1)
{
__int64 i; // x8
__int64 j; // x8
__int64 v4; // x8
__int64 v5; // x9
__int64 v6; // x11
__int64 v7; // x9
sub_100018AA8(a1 + 75);
cocos2d::CCDictionary::removeAllObjects(a1[70]);
cocos2d::CCDictionary::removeAllObjects(a1[71]);
cocos2d::CCDictionary::removeAllObjects(a1[41]);
for ( i = 0; i != 1102; ++i )
*(_QWORD *)(a1[80] + 8 * i) = 0;
for ( j = 0; j != 80000; j += 8 )
*(_QWORD *)(a1[72] + j) = 0;
v4 = a1[42];
if ( v4 )
{
v5 = *(_QWORD *)(v4 + 56);
if ( v5 )
{
do
{
v6 = *(_QWORD *)(v5 + 288);
v7 = *(_QWORD *)(v5 + 264);
*(_WORD *)(v7 + 324) = -1;
*(_DWORD *)(v7 + 320) = -1;
*(_DWORD *)(v7 + 316) = 1132396544;
*(_QWORD *)(v7 + 336) = 0;
v5 = v6;
}
while ( v6 );
}
}
sub_10000F350(a1);
return sub_10000F430(a1);
}