// // sub_100018CF8 from 0x100018cf8 to 0x100018d38 (64 bytes) // // 2 xrefs: // > sub_100018C40 @ 0x100018c70 // > sub_1004B4614 @ 0x1004b4644 // // This function is hookable on this platform (idp: arm, 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 10:57:19 +0000 // void *__fastcall sub_100018CF8(_QWORD *a1, __int64 a2) { unsigned __int64 v3; // x1 void *result; // x0 __int64 v5; // x1 if ( a2 < 0 ) sub_10000A5F8(); if ( a2 ) v3 = ((unsigned __int64)(a2 - 1) >> 6) + 1; else v3 = 0; result = sub_100018C0C((__int64)a1, v3); *a1 = result; a1[1] = 0; a1[2] = v5; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source