// // sub_57958 from 0x57958 to 0x57a36 (222 bytes) // // 2 xrefs: // > @ 0x57956 // > sub_687EA @ 0x68888 // // 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 // int __fastcall sub_57958(_DWORD *a1, _DWORD *a2) { unsigned int v2; // r4 int v5; // r6 _DWORD *v6; // r0 int v7; // r2 int v8; // r3 unsigned int v9; // r0 _DWORD *v10; // r9 int v11; // r6 _DWORD v13[2]; // [sp+8h] [bp-28h] BYREF char v14; // [sp+10h] [bp-20h] _DWORD *v15; // [sp+14h] [bp-1Ch] BYREF v2 = a1[298]; v5 = a1[299] / v2; v6 = (_DWORD *)sub_BD580( *(int *)((char *)&dword_14C + (_DWORD)off_E8000), (4 * v2 + 80) * v5 + 44, "../../src/fmod_systemi.cpp", 947, 0); v15 = v6; if ( !v6 ) return 38; *v6 = v6 + 7; v7 = 0; v8 = 76; v9 = (*v15 + 80 * v5 + 15) & 0xFFFFFFF0; while ( v7 < v5 ) { ++v7; *(_DWORD *)(*v15 + v8) = v9; v9 += 4 * v2; v8 += 80; } v10 = v15; v11 = sub_5C686(a1 + 316, v15 + 2, 1, v8); if ( !v11 ) { v11 = sub_8D408(v15[2], 1, 1); if ( !v11 ) { v13[1] = 18; v11 = 0; v14 = 0; v13[0] = a1; sub_44998((int)v13); v10[4] = a1[18000]; sub_57A6A(a1 + 17999, &v15); sub_448CC((int)v13); *a2 = v15; } } return v11; }
GD Web Decomp Icon

GD Web Decomp

Raw Source