// // sub_1402537E0 from 0x1402537e0 to 0x14025386e (142 bytes) // // 9 xrefs: // > sub_140252E00 @ 0x140252ebf // > sub_140252EF0 @ 0x140252fd1 // > sub_1402F1630 @ 0x1402f1726 // > sub_1403BBAC0 @ 0x1403bbb35 // > sub_1403BD8B0 @ 0x1403bd9a8 // > sub_1403BD9E0 @ 0x1403bdaca // > sub_1403BDB00 @ 0x1403bdbeb // > sub_14043F020 @ 0x14043f116 // > @ 0x1406cf69c // // 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 // void __fastcall sub_1402537E0(__int64 a1, __int64 a2, __int64 a3, __int64 a4) { _QWORD *v6; // rcx v6 = *(_QWORD **)a1; if ( v6 ) { if ( ((*(_QWORD *)(a1 + 16) - (_QWORD)v6) & 0xFFFFFFFFFFFFFFF0uLL) >= 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 + 16 * a3; *(_QWORD *)(a1 + 16) = a2 + 16 * a4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source