//
// sub_10037E130 from 0x10037e130 to 0x10037e16c (60 bytes)
//
// 3 xrefs:
// > UILayer::showTextAlert @ 0x100051438
// > EditorUI::showTextAlert @ 0x100163b7c
// > EditorUI::toggleViewOption @ 0x100189684
//
// 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:03:29 +0000
//
__int64 __fastcall sub_10037E130(__int64 a1, int a2)
{
__int64 result; // x0
__int16 v3; // [xsp+Ch] [xbp-4h] BYREF
char v4; // [xsp+Eh] [xbp-2h]
v3 = a2;
v4 = BYTE2(a2);
result = *(_QWORD *)(a1 + 328);
if ( result )
return (*(__int64 (__fastcall **)(__int64, __int16 *))(*(_QWORD *)result + 1072LL))(result, &v3);
return result;
}