// // sub_62E6A0 from 0x62e6a0 to 0x62e6e8 (72 bytes) // // 8 xrefs: // > sub_621154 @ 0x621174 // > sub_621154 @ 0x6211b8 // > sub_63E278 @ 0x63e3b2 // > sub_63E278 @ 0x63e3c4 // > sub_63E450 @ 0x63e4a2 // > sub_63E4C0 @ 0x63e4d8 // > sub_63E4C0 @ 0x63e4e4 // > sub_63E50C @ 0x63e524 // // 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 sub_62E6A0(int a1) { int v1; // r3 int *v2; // r1 int v3; // r3 int v5; // r2 int v6; // r4 int v7; // r3 int v8; // r1 int *v9; // t1 v1 = *(_DWORD *)(a1 + 8); v2 = *(int **)a1; if ( v1 ) { v3 = *(_DWORD *)(v1 + 8); *(_DWORD *)(a1 + 8) = v3; if ( v3 ) return *(_DWORD *)v3; } v5 = *(_DWORD *)(a1 + 4); v6 = v2[4]; if ( v5 < v6 ) { v7 = *v2; v8 = *v2 + 4 * v5; v3 = **(_DWORD **)(v7 + 4 * v5); if ( v3 ) { LABEL_10: *(_DWORD *)(a1 + 8) = v3; *(_DWORD *)(a1 + 4) = v5 + 1; return *(_DWORD *)v3; } while ( ++v5 != v6 ) { v9 = *(int **)(v8 + 4); v8 += 4; v3 = *v9; if ( *v9 ) goto LABEL_10; } } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source