// // sub_1800317D0 from 0x1800317d0 to 0x180031858 (136 bytes) // // 3 xrefs: // > sub_180030780 @ 0x1800308b7 // > sub_1800308E0 @ 0x180030941 // > @ 0x1801b03cc // // 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_1800317D0(__int64 a1, __int64 a2, __int64 a3, __int64 a4) { _QWORD *v6; // rcx __int64 result; // rax v6 = *(_QWORD **)a1; if ( v6 ) { if ( ((*(_QWORD *)(a1 + 16) - (_QWORD)v6) & 0xFFFFFFFFFFFFFFFCuLL) >= 0x1000 ) { if ( (unsigned __int64)v6 - *(v6 - 1) - 8 > 0x1F ) invalid_parameter_noinfo_noreturn(); v6 = (_QWORD *)*(v6 - 1); } j_j_free_0(v6); } *(_QWORD *)a1 = a2; *(_QWORD *)(a1 + 8) = a2 + 4 * a3; result = a2 + 4 * a4; *(_QWORD *)(a1 + 16) = result; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source