//
// sub_1001E9B60 from 0x1001e9b60 to 0x1001e9bae (78 bytes)
//
// 1 xrefs:
// > cocos2d::CCTMXMapInfo::endElement @ 0x1004ccb78
//
// 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:26:30 +0000
//
__int64 __fastcall sub_1001E9B60(Bytef *a1, uInt a2, void **a3, int a4)
{
int v5; // eax
void *v6; // rdi
_DWORD v8[3]; // [rsp+0h] [rbp-Ch] BYREF
v8[0] = 0;
v5 = sub_1001E99E0(a1, a2, a3, v8, a4);
v6 = *a3;
if ( v5 )
{
if ( v6 )
operator delete[](v6);
}
else if ( v6 )
{
return v8[0];
}
*a3 = nullptr;
return 0;
}