//
// sub_45F836 from 0x45f836 to 0x45f85e (40 bytes)
//
// 3 xrefs:
// > std::__ndk1::__hash_table>>,std::__ndk1::__unordered_map_hasher>>,std::__ndk1::hash,true>,std::__ndk1::__unordered_map_equal>>,std::__ndk1::equal_to,true>,std::__ndk1::allocator>>>>::clear @ 0x467f76
// > LevelEditorLayer::create @ 0x477b90
// > LevelEditorLayer::create @ 0x477ba8
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:48:52 +0000
//
void __fastcall sub_45F836(void **a1)
{
char *v2; // r0
void **v3; // r5
char *v4; // r3
void **v5; // r0
while ( a1 )
{
v2 = (char *)a1[3];
v3 = (void **)*a1;
if ( v2 )
{
while ( 1 )
{
v4 = (char *)a1[4];
if ( v2 == v4 )
break;
a1[4] = v4 - 4;
}
operator delete(v2);
}
v5 = a1;
a1 = v3;
operator delete(v5);
}
}