//
// sub_100475494 from 0x100475494 to 0x1004754bc (40 bytes)
//
// 1 xrefs:
// > sub_100041EE4 @ 0x100041f0c
//
// 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:40 +0000
//
__int64 __fastcall sub_100475494(__int64 result, __int64 a2)
{
__int64 v2; // x8
__int64 v3; // x9
v2 = *(_QWORD *)(result + 1440);
v3 = *(_QWORD *)(v2 + 14824);
if ( v3 && *(_DWORD *)(v3 + 916) == *(_DWORD *)(a2 + 916) )
a2 = 0;
*(_QWORD *)(v2 + 14824) = a2;
return result;
}