// // cocos2d::ZipUtils::base64URLDecode from 0x1800a6ab0 to 0x1800a6ba0 (240 bytes) // // 2 xrefs: // > @ 0x18014cf68 // > @ 0x1801c1d04 // // This function is hookable on this platform (idp: pc, 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:22:16 +0000 // // Hidden C++ exception states: #wind=1 __m128i *__fastcall cocos2d::ZipUtils::base64URLDecode(__m128i *a1, __int64 a2) { __int64 v2; // rax __int64 v4; // rdx int v5; // eax void *Block; // [rsp+20h] [rbp-48h] BYREF __m128i Src; // [rsp+30h] [rbp-38h] BYREF __m128i si128; // [rsp+40h] [rbp-28h] v2 = a2; Block = a1; v4 = *(_QWORD *)(a2 + 16); if ( v4 ) { Block = nullptr; if ( *(_QWORD *)(v2 + 24) > 0xFu ) v2 = *(_QWORD *)v2; v5 = base64Decode((unsigned __int8 *)v2, v4, &Block, 1); if ( v5 <= 0 ) { if ( Block ) j_j_free_0(Block); *a1 = 0; a1[1].m128i_i64[0] = 0; a1[1].m128i_i64[1] = 15; a1->m128i_i8[0] = 0; } else { Src = 0; si128 = _mm_load_si128((const __m128i *)&xmmword_1800EC500); Src.m128i_i8[0] = 0; sub_180007DF0(&Src, Block, v5); if ( Block ) j_j_free_0(Block); *a1 = Src; a1[1] = si128; } } else { sub_180016870((__int64)a1, v2); } return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source