// // sub_180095EA0 from 0x180095ea0 to 0x180096086 (486 bytes) // // 10 xrefs: // > FMOD::DSP::disconnectAll @ 0x1800a142d // > sub_1800C9370 @ 0x1800c9437 // > sub_1800C9370 @ 0x1800c9501 // > sub_1800C9370 @ 0x1800c9527 // > sub_1800CFDB0 @ 0x1800cfe6b // > @ 0x180185500 // > @ 0x180185518 // > @ 0x180185530 // > @ 0x180185540 // > @ 0x1801fa8f0 // // 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_180095EA0(__int64 a1, char a2, char a3, __int64 a4) { int v7; // esi int v8; // edi __int64 v9; // rcx __int64 v10; // rdx __int64 result; // rax int v12; // esi int v13; // edi __int64 v14; // rax __int64 v15; // r10 __int64 v16; // r8 __int64 v17; // [rsp+68h] [rbp+20h] BYREF if ( !a2 && !a3 ) return 0; if ( (*(_DWORD *)(a1 + 100) & 0x100) == 0 ) { LOBYTE(a4) = 1; result = sub_1800FCF40(*(_QWORD *)(a1 + 168), &v17, 24, a4); if ( (_DWORD)result ) return result; _InterlockedOr((volatile signed __int32 *)(a1 + 100), 0x1000u); LOBYTE(v16) = 1; *(_BYTE *)v17 = 5; *(_QWORD *)(v17 + 8) = a1; *(_BYTE *)(v17 + 16) = a2; *(_BYTE *)(v17 + 17) = a3; *(_BYTE *)(v17 + 18) = 0; result = sub_1800FD370(*(_QWORD *)(a1 + 168), v17, v16); if ( (_DWORD)result ) return result; return 0; } if ( a2 ) { v7 = *(__int16 *)(a1 + 424); v8 = 0; if ( v7 > 0 ) { while ( *(__int16 *)(a1 + 424) > 0 ) { v9 = *(_QWORD *)(a1 + 120); if ( v9 == a1 + 120 ) return 28; v10 = *(_QWORD *)(v9 + 16); if ( !v10 ) return 9; LOBYTE(a4) = 1; result = sub_180096560(a1, *(_QWORD *)(v10 + 88), *(_QWORD *)(v9 + 16), a4, 0, 4); if ( (_DWORD)result ) return result; if ( ++v8 >= v7 ) goto LABEL_11; } return 9; } } LABEL_11: if ( a3 ) { v12 = *(__int16 *)(a1 + 426); v13 = 0; if ( v12 > 0 ) { while ( *(__int16 *)(a1 + 426) > 0 ) { v14 = *(_QWORD *)(a1 + 400); if ( v14 == a1 + 400 ) return 28; v15 = *(_QWORD *)(v14 + 16); if ( !v15 ) break; LOBYTE(a4) = 1; result = sub_180096560(*(_QWORD *)(v15 + 96), a1, v15, a4, 0, 4); if ( (_DWORD)result ) return result; if ( ++v13 >= v12 ) return 0; } return 9; } } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source