// // cocos2d::ZipUtils::base64URLEncode from 0xb296ac to 0xb29788 (220 bytes) // // 2 xrefs: // > LevelTools::base64EncodeString @ 0x605f48 // > @ 0x8d660 // // 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 // char **__usercall cocos2d::ZipUtils::base64URLEncode@(__int64 *a1@, char **a2@) { __int64 v2; // x0 __int64 v4; // x3 int v5; // w0 void *p; // [xsp+28h] [xbp+28h] BYREF char *v8; // [xsp+30h] [xbp+30h] BYREF v2 = *a1; v4 = *(_QWORD *)(v2 - 24); if ( v4 ) { p = nullptr; v5 = base64Encode(v2, (const unsigned __int8 *)(unsigned int)v4, &p, 1u); if ( v5 <= 0 ) { if ( p ) { operator delete[](p); p = nullptr; } sub_D153B8((int)a2, &byte_F288A0); } else { v8 = &byte_124B6C8; sub_D15FD4(&v8, p, v5); if ( p ) operator delete[](p); *a2 = v8; } } else { sub_D18D28(a2); } return a2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source