//
// sub_100206710 from 0x100206710 to 0x10020675e (78 bytes)
//
// 1 xrefs:
// > cocos2d::CCTMXMapInfo::endElement @ 0x1004d1008
//
// 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 sub_100206710(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_1002065E0(a1, a2, a3, v8, a4);
v6 = *a3;
if ( v5 )
{
if ( v6 )
operator delete[](v6);
}
else if ( v6 )
{
return v8[0];
}
*a3 = nullptr;
return 0;
}