// // cocos2d::unzStringFileNameCompare from 0x5f1180 to 0x5f11d4 (84 bytes) // // 1 xrefs: // > cocos2d::unzLocateFile @ 0x5f1ad4 // // 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 // int __fastcall cocos2d::unzStringFileNameCompare(cocos2d *this, const char *a2, const char *a3, int a4) { cocos2d *v4; // r4 const char *v5; // r5 unsigned int v7; // r0 unsigned int v8; // r3 unsigned int v9; // t1 unsigned int v10; // t1 unsigned int v11; // r2 v4 = this; v5 = a2; if ( a3 == (_BYTE *)&dword_0 + 1 ) return j_strcmp((const char *)this, a2); while ( 1 ) { v9 = *(unsigned __int8 *)v4; v4 = (cocos2d *)((char *)v4 + 1); v8 = v9; v10 = *(unsigned __int8 *)v5++; v7 = v10; v11 = v10 - 97; if ( v8 - 97 <= 0x19 ) v8 = (unsigned __int8)(v8 - 32); if ( v11 <= 0x19 ) { v7 = (unsigned __int8)(v7 - 32); if ( !v8 ) return -(v7 != 0); } else { if ( !v8 ) return -(v7 != 0); if ( !v7 ) return 1; } if ( v8 < v7 ) break; if ( v8 > v7 ) return 1; } return -1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source