// // sub_14012D3C0 from 0x14012d3c0 to 0x14012d448 (136 bytes) // // 9 xrefs: // > sub_14012D2A0 @ 0x14012d385 // > sub_14024F320 @ 0x14024f399 // > sub_14026CF30 @ 0x14026cfd8 // > sub_1402F1160 @ 0x1402f124e // > sub_1402F2B70 @ 0x1402f2c7b // > sub_1402F2C90 @ 0x1402f2dbf // > sub_1402F2DF0 @ 0x1402f2e98 // > sub_1404C7AD0 @ 0x1404c7b88 // > @ 0x1406c9d2c // // 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_14012D3C0(__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) & 0xFFFFFFFFFFFFFFF8uLL) >= 0x1000 ) { if ( (unsigned __int64)v6 - *(v6 - 1) - 8 > 0x1F ) invalid_parameter_noinfo_noreturn(); v6 = (_QWORD *)*(v6 - 1); } j_j_free(v6); } *(_QWORD *)a1 = a2; *(_QWORD *)(a1 + 8) = a2 + 8 * a3; result = a2 + 8 * a4; *(_QWORD *)(a1 + 16) = result; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source