//
// FMOD::ExpandingPool::init from 0x10055b8b0 to 0x10055b8f8 (72 bytes)
//
// 3 xrefs:
// > FMOD::ExpandingPool::init @ 0x100756088
// > FMOD::ExpandingPool::init @ 0x100756084
// > ??> @ 0x1008ac2d8
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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:08:01 +0000
//
__int64 __fastcall FMOD::ExpandingPool::init(
__int64 a1,
__int64 a2,
int a3,
int a4,
int a5,
int a6,
char a7)
{
__int64 result; // x0
result = 31;
if ( ((a4 | a3) & 0x80000000) == 0 && a6 >= 1 )
{
*(_QWORD *)a1 = a2;
*(_DWORD *)(a1 + 32) = a3;
*(_DWORD *)(a1 + 36) = a4;
*(_DWORD *)(a1 + 24) = a5;
*(_DWORD *)(a1 + 28) = a6;
*(_BYTE *)(a1 + 40) = a7;
*(_QWORD *)(a1 + 16) = 0;
*(_QWORD *)(a1 + 80) = a1 + 72;
*(_QWORD *)(a1 + 88) = 0;
*(_QWORD *)(a1 + 48) = a1 + 48;
*(_QWORD *)(a1 + 56) = a1 + 48;
*(_QWORD *)(a1 + 64) = 0;
*(_QWORD *)(a1 + 72) = a1 + 72;
return 0;
}
return result;
}