// // sub_1003AB7FC from 0x1003ab7fc to 0x1003ab89c (160 bytes) // // 8 xrefs: // > sub_1003AB744 @ 0x1003ab7a8 // > sub_1003AD50C @ 0x1003ad6dc // > sub_1003AD50C @ 0x1003ad764 // > sub_1003AD50C @ 0x1003ad894 // > sub_1003AD50C @ 0x1003ad8e8 // > sub_1003AD50C @ 0x1003ada6c // > sub_1003AD50C @ 0x1003adb90 // > sub_1003AD50C @ 0x1003adcdc // // 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_1003AB7FC(__int64 a1, __int64 *a2, int a3) { __int64 v5; // x10 __int64 result; // x0 __int64 v7; // x8 __int64 v8; // x8 __int64 *v9; // x8 __int64 v10; // t1 __int64 v11; // [xsp+8h] [xbp-18h] BYREF v5 = a2[1]; if ( (unsigned __int64)(v5 + 64) <= 0x8000 ) { v7 = *a2; result = *a2 + v5 + 48; a2[1] = v5 + 64; } else { result = sub_1003AD290(a2, 64, &v11); v7 = v11; } *(_OWORD *)(result + 16) = 0u; *(_OWORD *)(result + 32) = 0u; *(_OWORD *)(result + 48) = 0u; *(_QWORD *)result = v7 | (a3 - 1); *(_QWORD *)(result + 8) = a1; v8 = *(_QWORD *)(a1 + 32); if ( v8 ) { v10 = *(_QWORD *)(v8 + 40); v9 = (__int64 *)(v8 + 40); *(_QWORD *)(v10 + 48) = result; *(_QWORD *)(result + 40) = v10; } else { *(_QWORD *)(a1 + 32) = result; v9 = (__int64 *)(result + 40); } *v9 = result; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source