// // sub_1402F3180 from 0x1402f3180 to 0x1402f3259 (217 bytes) // // 5 xrefs: // > sub_1402F21D0 @ 0x1402f23d1 // > sub_1402F2400 @ 0x1402f2601 // > @ 0x1406901a8 // > @ 0x1406901b8 // > @ 0x1406d3df4 // // 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_1402F3180(__int64 a1, __int64 a2, __int64 a3, __int64 a4) { _QWORD *v4; // rbx _QWORD *i; // rdi _QWORD *v10; // r8 v4 = *(_QWORD **)a1; if ( *(_QWORD *)a1 ) { for ( i = *(_QWORD **)(a1 + 8); v4 != i; v4 += 3 ) sub_1402EF9D0(v4); v10 = *(_QWORD **)a1; if ( (unsigned __int64)(24 * ((*(_QWORD *)(a1 + 16) - *(_QWORD *)a1) / 24LL)) >= 0x1000 ) { if ( (unsigned __int64)v10 - *(v10 - 1) - 8 > 0x1F ) invalid_parameter_noinfo_noreturn(); v10 = (_QWORD *)*(v10 - 1); } j_j_free(v10); } *(_QWORD *)a1 = a2; *(_QWORD *)(a1 + 8) = a2 + 24 * a3; *(_QWORD *)(a1 + 16) = a2 + 24 * a4; return 3 * a4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source