// // sub_1004DA69C from 0x1004da69c to 0x1004da88c (496 bytes) // // 5 xrefs: // > sub_1004DA970 @ 0x1004daf30 // > sub_1004DAF64 @ 0x1004db084 // > sub_1004EBDF8 @ 0x1004ebe68 // > sub_1004ED8FC @ 0x1004eda44 // > sub_1004EF568 @ 0x1004ef894 // // 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 // double __fastcall sub_1004DA69C(__int64 a1, __int64 a2) { __int64 v3; // x21 int v5; // w8 __int64 i; // x22 __int64 v7; // x1 int v8; // w8 __int64 v9; // x22 __int64 v10; // x23 int v11; // w8 __int64 v12; // x22 __int64 v13; // x23 int v14; // w8 __int64 v15; // x22 __int64 v16; // x23 __int64 v17; // x22 __int64 v18; // x23 __int64 v19; // x1 __int64 v20; // x8 __int64 v21; // x1 v3 = *(_QWORD *)(a2 + 32); if ( v3 ) { v5 = *(_DWORD *)(v3 + 8); if ( v5 >= 1 ) { for ( i = 0; i < v5; ++i ) { v7 = *(_QWORD *)(v3 + 32 + 8 * i); if ( v7 ) { sub_100478D80(a1, v7); v5 = *(_DWORD *)(v3 + 8); } } } v8 = *(_DWORD *)(v3 + 12); if ( v8 >= 1 ) { v9 = 0; v10 = v3 + 544; do { if ( *(_QWORD *)(v10 + 8 * v9 + 256) ) { (*((void (__fastcall **)(__int64))*(&off_100828DE0 + *(int *)(v10 + 4 * v9)) + 2))(a1); v8 = *(_DWORD *)(v3 + 12); } ++v9; } while ( v9 < v8 ); } v11 = *(_DWORD *)(v3 + 16); if ( v11 >= 1 ) { v12 = 0; v13 = v3 + 1312; do { if ( *(_QWORD *)(v13 + 8 * v12 + 256) ) { (*(void (__fastcall **)(__int64))(qword_100828DB8[*(int *)(v13 + 4 * v12)] + 24LL))(a1); v11 = *(_DWORD *)(v3 + 16); } ++v12; } while ( v12 < v11 ); } v14 = *(_DWORD *)(v3 + 20); if ( v14 >= 1 ) { v15 = 0; v16 = v3 + 2080; do { if ( *(_QWORD *)(v16 + 8 * v15 + 256) ) { (*((void (__fastcall **)(__int64))*(&off_100828DC8 + *(int *)(v16 + 4 * v15)) + 3))(a1); v14 = *(_DWORD *)(v3 + 20); } ++v15; } while ( v15 < v14 ); } if ( *(int *)(v3 + 24) >= 1 ) { v17 = 0; v18 = 0; do { v19 = *(_QWORD *)(v3 + 2848 + 8 * v18); if ( v19 ) sub_1004E7054(a1, v19); v20 = *(_QWORD *)(v3 + 4896); if ( v20 ) sub_1004E70C0(a1, v20 + v17); ++v18; v17 += 72; } while ( v18 < *(int *)(v3 + 24) ); } v21 = *(_QWORD *)(v3 + 4896); if ( v21 ) sub_100478D80(a1, v21); sub_100478D80(a1, v3); } *(_QWORD *)(a2 + 32) = 0; *(_OWORD *)a2 = 0u; *(_OWORD *)(a2 + 16) = 0u; return 0.0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source