//
// sub_1003B1BB0 from 0x1003b1bb0 to 0x1003b1bef (63 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b37238
//
// 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:29:26 +0000
//
int __fastcall sub_1003B1BB0(__int64 a1, unsigned int a2)
{
unsigned int v2; // esi
int result; // eax
__int64 v4; // rcx
if ( a2 <= 0x26 )
{
result = a2;
v4 = 0x4108000000LL;
if ( _bittest64(&v4, a2) )
return DialogLayer::handleDialogTap((double *)(a1 - 344));
}
v2 = a2 - 1001;
if ( v2 <= 0xE )
{
result = 20481;
if ( _bittest(&result, v2) )
return DialogLayer::handleDialogTap((double *)(a1 - 344));
}
return result;
}