// // cocos2d::ZipUtils::encryptDecryptWKey from 0x5ef740 to 0x5ef7a4 (100 bytes) // // 2 xrefs: // > cocos2d::ZipUtils::base64DecodeEnc @ 0x5ef814 // > cocos2d::ZipUtils::base64EncodeEnc @ 0x5ef8a6 // // 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 // _DWORD *__fastcall cocos2d::ZipUtils::encryptDecryptWKey(_DWORD *a1, _DWORD *a2, _DWORD *a3) { unsigned int v6; // r4 int v7; // r8 unsigned int v8; // r9 _DWORD *result; // r0 int v10; // r10 char v11; // r11 *a1 = &unk_ACDDA8; v6 = 0; v7 = *(_DWORD *)(*a2 - 12); sub_775608(a1, v7); v8 = *(_DWORD *)(*a3 - 12); while ( 1 ) { result = a1; if ( v6 == v7 ) break; sub_775170(a1); v10 = *a1; v11 = *(_BYTE *)(*a2 + v6); sub_775170(a3); *(_BYTE *)(v10 + v6) = v11 ^ *(_BYTE *)(*a3 + v6 % v8); ++v6; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source