// // sub_10012592C from 0x10012592c to 0x100125aa8 (380 bytes) // // 2 xrefs: // > sub_100125758 @ 0x10012583c // > sub_100125758 @ 0x10012586c // // 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_10012592C(__int64 a1, __int64 a2, __int64 a3, __int64 a4) { __int64 v6; // x20 __int64 v7; // x23 __int64 v8; // x22 __int128 v9; // q0 __int128 v10; // q1 __int128 v11; // q2 __int128 v12; // q0 __int128 v13; // q1 __int128 v14; // q2 __int128 v15; // q0 __int128 v16; // q1 __int128 v17; // q2 __int128 v18; // q0 __int128 v19; // q1 __int128 v20; // q2 __int128 v21; // q0 __int128 v22; // q1 __int128 v23; // q2 __int128 v24; // q0 __int128 v25; // q1 __int128 v26; // q2 if ( a2 == a3 ) return a2; v6 = a3; v7 = 0; do { v8 = a4 + v7; if ( a2 == a4 ) { v18 = *(_OWORD *)(a2 + v7 + 24); v19 = *(_OWORD *)(a2 + v7 + 40); v20 = *(_OWORD *)(a2 + v7 + 56); *(_OWORD *)(v8 + 72) = *(_OWORD *)(a2 + v7 + 72); *(_OWORD *)(v8 + 56) = v20; *(_OWORD *)(v8 + 40) = v19; *(_OWORD *)(v8 + 24) = v18; v21 = *(_OWORD *)(a2 + v7 + 88); v22 = *(_OWORD *)(a2 + v7 + 104); v23 = *(_OWORD *)(a2 + v7 + 120); *(_OWORD *)(v8 + 136) = *(_OWORD *)(a2 + v7 + 136); *(_OWORD *)(v8 + 120) = v23; *(_OWORD *)(v8 + 104) = v22; *(_OWORD *)(v8 + 88) = v21; v24 = *(_OWORD *)(a2 + v7 + 152); v25 = *(_OWORD *)(a2 + v7 + 168); v26 = *(_OWORD *)(a2 + v7 + 184); *(_DWORD *)(v8 + 200) = *(_DWORD *)(a2 + v7 + 200); *(_OWORD *)(v8 + 184) = v26; *(_OWORD *)(v8 + 168) = v25; *(_OWORD *)(v8 + 152) = v24; } else { sub_100125AA8(a4 + v7, *(_QWORD *)(a2 + v7), a2 + 8 + v7); v9 = *(_OWORD *)(a2 + v7 + 24); v10 = *(_OWORD *)(a2 + v7 + 40); v11 = *(_OWORD *)(a2 + v7 + 56); *(_OWORD *)(v8 + 72) = *(_OWORD *)(a2 + v7 + 72); *(_OWORD *)(v8 + 56) = v11; *(_OWORD *)(v8 + 40) = v10; *(_OWORD *)(v8 + 24) = v9; v12 = *(_OWORD *)(a2 + v7 + 88); v13 = *(_OWORD *)(a2 + v7 + 104); v14 = *(_OWORD *)(a2 + v7 + 120); *(_OWORD *)(v8 + 136) = *(_OWORD *)(a2 + v7 + 136); *(_OWORD *)(v8 + 120) = v14; *(_OWORD *)(v8 + 104) = v13; *(_OWORD *)(v8 + 88) = v12; v15 = *(_OWORD *)(a2 + v7 + 152); v16 = *(_OWORD *)(a2 + v7 + 168); v17 = *(_OWORD *)(a2 + v7 + 184); *(_DWORD *)(v8 + 200) = *(_DWORD *)(a2 + v7 + 200); *(_OWORD *)(v8 + 184) = v17; *(_OWORD *)(v8 + 168) = v16; *(_OWORD *)(v8 + 152) = v15; sub_100017888( (__int64 *)(v8 + 208), *(char **)(a2 + v7 + 208), *(char **)(a2 + v7 + 216), (__int64)(*(_QWORD *)(a2 + v7 + 216) - *(_QWORD *)(a2 + v7 + 208)) >> 2); } *(_DWORD *)(a4 + v7 + 232) = *(_DWORD *)(a2 + v7 + 232); v7 += 240; } while ( a2 + v7 != v6 ); return v6; }
GD Web Decomp Icon

GD Web Decomp

Raw Source