// // sub_14018C580 from 0x14018c580 to 0x14018c615 (149 bytes) // // 5 xrefs: // > EditorSFXManager::playAction @ 0x140185823 // > PlayLayer::dtLocalCellTriples @ 0x14051ed2d // > @ 0x14089ef00 // > @ 0x14089ef10 // > @ 0x140919028 // // 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:27:41 +0000 // unsigned __int64 __fastcall sub_14018C580(__int64 a1, unsigned __int64 a2) { const void *v4; // rcx unsigned __int64 result; // rax __int64 v6; // rdi _QWORD *v7; // rbx v4 = *(const void **)a1; result = (__int64)(*(_QWORD *)(a1 + 16) - (_QWORD)v4) >> 2; if ( a2 > result ) { if ( a2 > 0x3FFFFFFFFFFFFFFFLL ) sub_14005A170(); v6 = (__int64)(*(_QWORD *)(a1 + 8) - (_QWORD)v4) >> 2; v7 = sub_14003D460(4 * a2); memmove(v7, *(const void **)a1, *(_QWORD *)(a1 + 8) - *(_QWORD *)a1); return sub_14006B840(a1, (__int64)v7, v6, a2); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source