// // sub_1402651F0 from 0x1402651f0 to 0x1402652a2 (178 bytes) // // 6 xrefs: // > GJEffectManager::reset @ 0x14025b289 // > sub_140266930 @ 0x140266936 // > sub_1403B6DE0 @ 0x1403b72d4 // > @ 0x14068563c // > @ 0x14068564c // > @ 0x1406d0260 // // 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 // unsigned __int64 __fastcall sub_1402651F0(_QWORD *a1) { unsigned __int64 v2; // rcx unsigned __int64 result; // rax _QWORD **v4; // rcx _QWORD *v5; // rcx _QWORD *v6; // rbx unsigned __int64 *v7; // rdx unsigned __int64 *v8; // rcx unsigned __int64 v9; // [rsp+30h] [rbp+8h] BYREF v2 = a1[2]; if ( v2 ) { if ( a1[7] >> 3 <= v2 ) { v4 = (_QWORD **)a1[1]; *v4[1] = 0; v5 = *v4; if ( v5 ) { do { v6 = (_QWORD *)*v5; j_j_free(v5); v5 = v6; } while ( v6 ); } *(_QWORD *)a1[1] = a1[1]; *(_QWORD *)(a1[1] + 8LL) = a1[1]; a1[2] = 0; v7 = (unsigned __int64 *)a1[4]; v8 = (unsigned __int64 *)a1[3]; v9 = a1[1]; return sub_140060560(v8, v7, &v9); } else { return sub_140265F80(a1, *(_QWORD *)a1[1], a1[1]); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source