// // sub_65458 from 0x65458 to 0x654d0 (120 bytes) // // 2 xrefs: // > sub_64AB0 @ 0x64ad4 // > sub_64AD8 @ 0x64b0c // // 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_65458(__int64 *a1, _DWORD *a2, int *a3) { __int64 v3; // x8 int v4; // w8 __int64 i; // x8 __int64 v6; // x10 int v7; // w8 v3 = *a3; if ( (_DWORD)v3 == -1 || (v4 = *(_DWORD *)(a1[2] + 16 * v3 + 8), *a3 = v4, v4 == -1) ) { LODWORD(i) = *a2 + 1; if ( *a2 == -1 ) LODWORD(i) = 0; for ( i = (int)i; ; ++i ) { if ( *((_DWORD *)a1 + 2) == i ) { v7 = -1; *a2 = -1; goto LABEL_11; } v6 = *a1; if ( *(_DWORD *)(*a1 + 4 * i) != -1 ) break; } *a2 = i; v7 = *(_DWORD *)(v6 + 4 * i); LABEL_11: *a3 = v7; } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source