// // sub_1402EF640 from 0x1402ef640 to 0x1402ef6f2 (178 bytes) // // 12 xrefs: // > sub_1402D1570 @ 0x1402d1bab // > sub_1404C4CD0 @ 0x1404c4cdd // > sub_1404C4CD0 @ 0x1404c4cea // > sub_1404C5230 @ 0x1404c5c63 // > sub_1404C5230 @ 0x1404c5c6c // > sub_14050094B @ 0x140500959 // > sub_140513570 @ 0x140513577 // > sub_14051357C @ 0x140513587 // > @ 0x14068f934 // > @ 0x14068f944 // > @ 0x1406a934f // > @ 0x1406d38d8 // // 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_1402EF640(__int64 *a1) { __int64 v1; // rbx __int64 i; // rdi _QWORD *v4; // r8 __int64 result; // rax v1 = *a1; if ( *a1 ) { for ( i = a1[1]; v1 != i; v1 += 24 ) sub_14005D100(v1); v4 = (_QWORD *)*a1; if ( (unsigned __int64)(24 * ((a1[2] - *a1) / 24)) >= 0x1000 ) { if ( (unsigned __int64)v4 - *(v4 - 1) - 8 > 0x1F ) invalid_parameter_noinfo_noreturn(); v4 = (_QWORD *)*(v4 - 1); } j_j_free(v4); result = 0; *a1 = 0; a1[1] = 0; a1[2] = 0; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source