//
// sub_100229738 from 0x100229738 to 0x100229774 (60 bytes)
//
// 2 xrefs:
// > ??> @ 0x1008ff0a0
// > ??> @ 0x100928300
//
// 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:01:12 +0000
//
__int64 __fastcall sub_100229738(__int64 result, __int64 a2)
{
if ( *(_QWORD *)(result + 352) != a2 )
{
*(_QWORD *)(result + 352) = a2;
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)(result - 320) + 1640LL))(result - 320);
}
return result;
}