// // sub_140354940 from 0x140354940 to 0x140354a10 (208 bytes) // // 6 xrefs: // > sub_14030DAE0 @ 0x14030e744 // > sub_14030DAE0 @ 0x14030e757 // > @ 0x1408b90b0 // > @ 0x1408b90c0 // > @ 0x1408b90d4 // > @ 0x140920720 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:30:48 +0000 // _QWORD *__fastcall sub_140354940(_QWORD *a1, _QWORD *a2) { _QWORD *v4; // r8 if ( a1 != a2 ) { v4 = (_QWORD *)*a1; if ( *a1 ) { if ( (unsigned __int64)(96 * ((a1[2] - (_QWORD)v4) / 96LL)) >= 0x1000 ) { if ( (unsigned __int64)v4 - *(v4 - 1) - 8 > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); v4 = (_QWORD *)*(v4 - 1); } j_j_free(v4); *a1 = 0; a1[1] = 0; a1[2] = 0; } *a1 = *a2; a1[1] = a2[1]; a1[2] = a2[2]; *a2 = 0; a2[1] = 0; a2[2] = 0; } return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source