// // sub_7A13D0 from 0x7a13d0 to 0x7a142c (92 bytes) // // 2 xrefs: // > sub_7A1478 @ 0x7a1524 // > GameStatsManager::tryFixPathBug @ 0x7b6af8 // // 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 sub_7A13D0(_DWORD *a1) { _DWORD *v1; // x1 int v2; // w3 int v3; // w4 __int64 result; // x0 _BOOL4 v5; // w2 int v6; // w2 v1 = a1; v2 = a1[1]; v3 = *a1; result = (unsigned int)*(a1 - 1); v5 = v2 > (int)result; if ( v2 == (_DWORD)result ) goto LABEL_4; while ( v5 ) { while ( 1 ) { v6 = *(v1 - 2); v1 -= 2; v1[3] = result; v1[2] = v6; result = (unsigned int)*(v1 - 1); v5 = v2 > (int)result; if ( v2 != (_DWORD)result ) break; LABEL_4: if ( v3 >= *(v1 - 2) ) goto LABEL_5; } } LABEL_5: *v1 = v3; v1[1] = v2; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source