// // sub_1005F8FBC from 0x1005f8fbc to 0x1005f90b0 (244 bytes) // // 3 xrefs: // > sub_1005E96E0 @ 0x1005e9784 // > sub_1005E99E8 @ 0x1005e9a04 // > sub_1005E9A40 @ 0x1005e9a58 // // 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_1005F8FBC(__int64 *a1, int a2) { int v4; // w8 __int64 v5; // x23 __int64 *v6; // x0 __int64 v7; // x0 _DWORD *v9; // [xsp+8h] [xbp-118h] BYREF _DWORD v10[52]; // [xsp+10h] [xbp-110h] BYREF while ( 1 ) { v9 = v10; v10[0] = a2; if ( !qword_100884DD8 || (v4 = sub_1005DE730((int *)qword_100884DD8, (__int64)v10), v4 < 0) ) { v6 = (__int64 *)sub_10058B924( (__int64)&v9, (__int64)&off_100862270, 12, 8, (__int64 (__fastcall *)(__int64, __int64))sub_1005F93B8); if ( !v6 ) break; v5 = *v6; } else { v5 = sub_1005DEA60(qword_100884DD8, v4); } if ( !v5 ) break; if ( (*(_BYTE *)(v5 + 8) & 1) == 0 ) goto LABEL_12; a2 = *(_DWORD *)(v5 + 4); } v5 = 0; LABEL_12: if ( a1 ) { v7 = sub_1005D8E70(a2); if ( v7 ) { *a1 = v7; return sub_1005D8E84(v7); } else { *a1 = 0; } } return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source