// // sub_10013F0AC from 0x10013f0ac to 0x10013f1b8 (268 bytes) // // 2 xrefs: // > sub_100139A34 @ 0x100139b8c // > sub_100139A34 @ 0x100139ba4 // // 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 // void __fastcall sub_10013F0AC(_QWORD *a1, __int64 *a2, __int64 *a3) { __int64 *v4; // x21 __int64 v6; // x8 __int64 i; // x9 void **v8; // x22 bool v9; // zf void **v10; // x23 __int128 v11; // q0 __int128 v12; // q1 __int128 v13; // q2 unsigned __int64 v14; // x1 _QWORD *v15; // x0 v4 = a2; v6 = a1[1]; if ( v6 ) { for ( i = 0; i != v6; ++i ) *(_QWORD *)(*a1 + 8 * i) = 0; v8 = (void **)a1[2]; a1[2] = 0; a1[3] = 0; if ( v8 ) v9 = a2 == a3; else v9 = 1; if ( v9 ) { v10 = v8; } else { do { *((_DWORD *)v8 + 4) = *((_DWORD *)v4 + 4); std::string::operator=((std::string *)v8 + 1, (const std::string *)v4 + 1); *((_OWORD *)v8 + 3) = *((_OWORD *)v4 + 3); v11 = *((_OWORD *)v4 + 4); v12 = *((_OWORD *)v4 + 5); v13 = *((_OWORD *)v4 + 6); *((_BYTE *)v8 + 112) = *((_BYTE *)v4 + 112); *((_OWORD *)v8 + 5) = v12; *((_OWORD *)v8 + 6) = v13; *((_OWORD *)v8 + 4) = v11; v10 = (void **)*v8; v14 = *((int *)v8 + 4); v8[1] = (void *)v14; v15 = (_QWORD *)sub_10001ABFC((__int64)a1, v14, (_DWORD *)v8 + 4); sub_10001AD58(a1, v8, v15); v4 = (__int64 *)*v4; if ( !v10 ) break; v8 = v10; } while ( v4 != a3 ); } sub_1001275D8((int)a1, v10); } while ( v4 != a3 ) { sub_10013F1E8(a1, v4 + 2); v4 = (__int64 *)*v4; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source