// // cocos2d::ZipUtils::hexToChar from 0x1002db694 to 0x1002db788 (244 bytes) // // 1 xrefs: // > cocos2d::ZipUtils::urlDecode @ 0x1002db4a8 // // 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:02:44 +0000 // __int64 __fastcall cocos2d::ZipUtils::hexToChar(__int64 a1) { __int64 v1; // x8 _QWORD v3[2]; // [xsp+8h] [xbp-128h] BYREF void (__cdecl **v4)(std::streambuf *__hidden); // [xsp+18h] [xbp-118h] std::locale v5[9]; // [xsp+20h] [xbp-110h] BYREF char v6; // [xsp+6Fh] [xbp-C1h] __int64 (__fastcall **v7)(); // [xsp+80h] [xbp-B0h] BYREF __int16 v8; // [xsp+11Eh] [xbp-12h] BYREF v8 = 0; v1 = *(unsigned __int8 *)(a1 + 23); if ( (v1 & 0x80u) != 0LL ) v1 = *(_QWORD *)(a1 + 8); if ( v1 ) { sub_1002DB828(v3, a1, 8); *(_DWORD *)((char *)&v3[1] + *(_QWORD *)(v3[0] - 24LL)) = *(_DWORD *)((_BYTE *)&v3[1] + *(_QWORD *)(v3[0] - 24LL)) & 0xFFFFFFB5 | 8; std::istream::operator>>(v3, &v8); v7 = off_100921BF0; v3[0] = off_100921BC8; v4 = (void (__cdecl **)(std::streambuf *__hidden))off_1008CF0A8; if ( v6 < 0 ) operator delete(v5[7].__locale_); v4 = &`vtable for'std::streambuf.~basic_streambuf; std::locale::~locale(v5); std::istream::~istream(v3, off_100921C08); std::ios::~ios(&v7); LOBYTE(v1) = v8; } return (unsigned __int8)v1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source