// // sub_1005FB728 from 0x1005fb728 to 0x1005fb7f4 (204 bytes) // // 2 xrefs: // > sub_1005465D8 @ 0x100546660 // > sub_1005FC144 @ 0x1005fc1b0 // // 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_1005FB728(__int64 a1, __int64 *a2) { char *v4; // x22 _DWORD *v5; // x21 int v6; // w0 char *v7; // x8 __int64 v8; // x9 v4 = *(char **)a1; v5 = (_DWORD *)(a1 + 20); v6 = sub_1005FB380((char **)a1, (__int64 *)(a1 + 32), (_DWORD *)(a1 + 20), (int *)(a1 + 24), *a2); *(_DWORD *)(a1 + 16) = v6; if ( (v6 & 0x80) != 0 ) { *(_DWORD *)(a1 + 12) = 60; return 0; } else if ( *v5 == 16 ) { v7 = *(char **)a1; v8 = (__int64)&v4[*a2 - *(_QWORD *)a1]; *a2 = v8; if ( *(_QWORD *)(a1 + 40) && v8 < 0 ) { *(_DWORD *)(a1 + 12) = 62; return 0; } else { if ( v6 == 33 ) *(_QWORD *)(a1 + 32) = **(_QWORD **)(a1 + 56) + v8 - (_QWORD)v7; *(_DWORD *)(a1 + 8) = 0; return 1; } } else { *(_DWORD *)(a1 + 12) = 61; return 0; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source