//
// sub_100432764 from 0x100432764 to 0x100432798 (52 bytes)
//
// 3 xrefs:
// > GJBaseGameLayer::canProcessSFX @ 0x1002a30ac
// > sub_1003AF1A8 @ 0x1003af458
// > sub_10040193C @ 0x1004019b4
//
// 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:05:06 +0000
//
__int64 __fastcall sub_100432764(__int64 a1)
{
__int64 result; // x0
if ( *(_BYTE *)(a1 + 1909) != 1 )
return 0;
result = *(unsigned int *)(a1 + 1912);
if ( (int)result <= 0 )
return (unsigned int)-*(_DWORD *)(a1 + 916);
return result;
}