// // cocos2d::unzGetGlobalComment from 0x1800a4930 to 0x1800a49d7 (167 bytes) // // 2 xrefs: // > @ 0x18014cf68 // > @ 0x1801c1a70 // // 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:15 +0000 // __int64 __fastcall cocos2d::unzGetGlobalComment(cocos2d *this, _BYTE *a2, char *a3) { unsigned int v3; // ebp unsigned int v7; // esi __int64 v8; // rax v3 = (unsigned int)a3; if ( !this ) return 4294967194LL; v7 = (unsigned int)a3; if ( (unsigned int)a3 > *((_DWORD *)this + 28) ) v7 = *((_DWORD *)this + 28); if ( (unsigned int)sub_1800A3520((__int64)this, *((_QWORD *)this + 12), *((_QWORD *)this + 19) + 22LL) ) return 0xFFFFFFFFLL; if ( v7 ) { *a2 = 0; if ( (*((unsigned int (__fastcall **)(_QWORD, _QWORD, _BYTE *, _QWORD))this + 1))( *((_QWORD *)this + 7), *((_QWORD *)this + 12), a2, v7) != v7 ) return 0xFFFFFFFFLL; } if ( a2 ) { v8 = *((unsigned int *)this + 28); if ( v3 > (unsigned int)v8 ) a2[v8] = 0; } return v7; }
GD Web Decomp Icon

GD Web Decomp

Raw Source