// // sub_100586C2C from 0x100586c2c to 0x100586cd8 (172 bytes) // // 2 xrefs: // > sub_1005834D0 @ 0x100585210 // > sub_1005834D0 @ 0x10058587c // // 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 // bool __fastcall sub_100586C2C(__int64 a1, void *a2) { __int64 v4; // x0 __int64 v5; // x0 __int64 v6; // x20 int v7; // w21 size_t v8; // x22 __int64 v10; // [xsp+8h] [xbp-28h] BYREF v4 = sub_1005DB118(a1); v5 = sub_1005DA484(v4); v6 = v5; if ( !v5 ) return 1; v7 = sub_1005F1BE4(v5, a1, 0, 196608); sub_1005DAB78(v6, 115, 0, &v10); if ( *(_QWORD *)v10 >> 14 ) v8 = 0x3FFF; else v8 = *(_QWORD *)v10; memcpy(a2, *(const void **)(v10 + 8), v8); *((_BYTE *)a2 + v8) = 0; sub_1005DA554(v6); return v7 == 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source