// // sub_10045AD78 from 0x10045ad78 to 0x10045ade0 (104 bytes) // // 1 xrefs: // > FMOD::ChannelGroup::getGroup @ 0x10045946c // // 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_10045AD78(__int64 a1, int a2, _QWORD *a3) { _QWORD *v3; // x8 int v4; // w9 _QWORD *v5; // x10 __int64 result; // x0 int i; // w10 v3 = (_QWORD *)(a1 + 400); v4 = -1; v5 = (_QWORD *)(a1 + 400); do { v5 = (_QWORD *)*v5; ++v4; } while ( v5 != v3 ); result = 31; if ( a3 && (a2 & 0x80000000) == 0 && v4 > a2 ) { if ( v4 ) { for ( i = 0; i != v4; ++i ) { v3 = (_QWORD *)*v3; if ( a2 == i ) *a3 = v3[2]; } } return 0; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source