// // compOrderYInv from 0x32a928 to 0x32a9b6 (142 bytes) // // 0 xrefs: // // 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 compOrderYInv(int *a1, int *a2) { int v2; // r7 int v3; // r6 int v4; // r4 int v5; // r0 float v6; // s16 cocos2d::CCPoint v8; // [sp+4h] [bp-Ch] BYREF v2 = *a1; v3 = *a2; v4 = *(_DWORD *)(*a1 + 1580); v5 = *(_DWORD *)(*a2 + 1580); if ( v4 == v5 ) { cocos2d::CCPoint::CCPoint(&v8, (const cocos2d::CCPoint *)(v2 + 1592)); v6 = (float)v4; v4 = (int)(float)((float)v4 - v8.y); cocos2d::CCPoint::CCPoint(&v8, (const cocos2d::CCPoint *)(v3 + 1592)); v5 = (int)(float)(v6 - v8.y); if ( v4 == v5 ) { v4 += *(_DWORD *)(v2 + 772); v5 += *(_DWORD *)(v3 + 772); } } return v4 - v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source