// // sub_1004A1244 from 0x1004a1244 to 0x1004a12b4 (112 bytes) // // 2 xrefs: // > FMOD::DSP::getDataParameterIndex @ 0x100486d50 // > sub_100508FA0 @ 0x1005091a4 // // 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_1004A1244(__int64 a1, int a2, _DWORD *a3) { __int64 v3; // x8 __int64 v4; // x9 _DWORD *v5; // x10 __int64 result; // x0 v3 = 0; v4 = *(_QWORD *)(a1 + 232); while ( v4 ) { if ( v3 >= *(int *)(v4 + 96) ) goto LABEL_11; LABEL_7: v5 = *(_DWORD **)(*(_QWORD *)(v4 + 104) + 8 * v3); if ( *v5 == 3 && v5[12] == a2 ) { result = 0; if ( !a3 ) return result; goto LABEL_13; } ++v3; } if ( v3 < 0 ) goto LABEL_7; LABEL_11: result = 31; if ( !a3 ) return result; LODWORD(v3) = -1; LABEL_13: *a3 = v3; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source