// // sub_59520 from 0x59520 to 0x59598 (120 bytes) // // 1 xrefs: // > sub_59D94 @ 0x59e94 // // 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 // __int64 __fastcall sub_59520(_QWORD *a1) { __int64 v1; // x20 _QWORD *v3; // x9 __int64 v5; // x8 v1 = a1[1]; if ( !v1 ) return 31; sub_59598(a1 + 50); sub_59598(a1 + 54); v3 = (_QWORD *)a1[48]; *v3 = a1[47]; *(_QWORD *)(a1[47] + 8LL) = v3; a1[47] = a1 + 47; v5 = *(_QWORD *)(v1 + 1432); a1[47] = v5; a1[48] = v1 + 1432; *(_QWORD *)(v5 + 8) = a1 + 47; *(_QWORD *)a1[48] = a1 + 47; --*(_DWORD *)(v1 + 484); return 0; }