// // sub_1402F3260 from 0x1402f3260 to 0x1402f3317 (183 bytes) // // 5 xrefs: // > sub_1402F1760 @ 0x1402f18ae // > sub_1402F18E0 @ 0x1402f1a21 // > sub_1403BBB40 @ 0x1403bbbd5 // > sub_1403BD6B0 @ 0x1403bd878 // > @ 0x1406d3e18 // // 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_1402F3260(__int64 a1, __int64 a2, __int64 a3, __int64 a4) { _QWORD *v6; // rcx __int64 result; // rax v6 = *(_QWORD **)a1; if ( v6 ) { if ( (unsigned __int64)(48 * ((*(_QWORD *)(a1 + 16) - (_QWORD)v6) / 48LL)) >= 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 + 48 * a3; result = a2 + 48 * a4; *(_QWORD *)(a1 + 16) = result; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source