// // sub_57C48 from 0x57c48 to 0x57cbc (116 bytes) // // 2 xrefs: // > sub_57C48 @ 0x57cac // > sub_581C4 @ 0x58338 // // 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_57C48(__int64 a1, _OWORD *a2) { __int64 v2; // x8 __int64 v4; // x9 __int64 i; // x10 __int64 v6; // x11 __int64 j; // x21 char v8; // zf v2 = *(_QWORD *)(a1 + 16); if ( v2 ) { v4 = *(int *)(a1 + 24); for ( i = 0; i < v4; ++i ) { v6 = *(_QWORD *)(v2 + 8 * i); *(_OWORD *)(v6 + 8) = *a2; } } else { *(_OWORD *)(*(_QWORD *)(a1 + 96) + 8LL) = *a2; } for ( j = a1 + 400; ; sub_57C48(*(_QWORD *)(j + 16), a2) ) { sub_5937C(); if ( v8 ) break; } return 0; }