//
// sub_1004CAA78 from 0x1004caa78 to 0x1004caacc (84 bytes)
//
// 2 xrefs:
// > sub_1004CB1A0 @ 0x1004cb1f4
// > sub_1004CB5F0 @ 0x1004cb624
//
// 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 11:06:25 +0000
//
void __usercall sub_1004CAA78(__int64 a1@, __int64 a2@)
{
std::string __p; // [xsp+8h] [xbp-28h] BYREF
sub_1004C97AC(a1, &__p);
cocos2d::ZipUtils::compressString((__int64 *)&__p, 0, 0xFFFFFFFFLL, 0, a2);
if ( SHIBYTE(__p.__r_.__value_.__r.__words[2]) < 0 )
operator delete(__p.__r_.__value_.__l.__data_);
}