// // cocos2d::unzGetGlobalComment from 0x1800a0b60 to 0x1800a0c02 (162 bytes) // // 2 xrefs: // > @ 0x1801438a8 // > @ 0x1801b77b8 // // 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 // __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_18009F7F0((__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