//
// CustomSFXCell::shouldReload from 0x100236640 to 0x1002366d3 (147 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 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 12:27:12 +0000
//
bool __fastcall CustomSFXCell::shouldReload(_QWORD *a1)
{
int v1; // r12d
int v2; // r14d
int v3; // r15d
int v4; // r12d
bool result; // al
v1 = *(_DWORD *)(a1[70] + 56LL);
v2 = 0;
v3 = 0;
if ( v1 == (*(unsigned int (__fastcall **)(_QWORD *))(*a1 + 1160LL))(a1) )
{
v4 = *(_DWORD *)(a1[70] + 76LL);
v3 = v4 == (*(__int64 (__fastcall **)(_QWORD *))(*a1 + 1168LL))(a1);
}
if ( *(int *)(a1[70] + 76LL) > 0 )
v2 = (*(unsigned __int8 (__fastcall **)(_QWORD *))(*a1 + 1200LL))(a1);
result = 1;
if ( v3 == *((unsigned __int8 *)a1 + 568) )
return v2 != *((unsigned __int8 *)a1 + 569);
return result;
}