// // FMOD::Sound::getLoopCount from 0xb6118 to 0xb6198 (128 bytes) // // 1 xrefs: // > FMOD::Sound::getLoopCount @ 0xe0698 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:41:43 +0000 // int __fastcall FMOD::Sound::getLoopCount(FMOD::Sound *this, int *a2) { int v4; // r6 int v5; // r0 int v6; // r0 _BYTE v8[256]; // [sp+4h] [bp-114h] BYREF _DWORD *v9; // [sp+104h] [bp-14h] BYREF v4 = sub_54E84((int)this, &v9, 0); if ( !v4 ) { v5 = v9[47]; __dmb(0xBu); if ( v5 && (v6 = v9[47], __dmb(0xBu), v6 != 7) ) { v4 = 46; } else { v4 = (*(int (__fastcall **)(_DWORD *, int *))(*v9 + 152))(v9, a2); if ( !v4 ) return 0; } } if ( (*((_BYTE *)&dword_14 + (_DWORD)off_E8000) & 0x80) != 0 ) { sub_5C9EC((int)v8, 256, a2); sub_BAB40(v4, 5, this, "Sound::getLoopCount", v8); } return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source