//
// LevelFeatureLayer::onDown2 from 0x1005043b0 to 0x100504402 (82 bytes)
//
// 1 xrefs:
// > LevelFeatureLayer::init @ 0x100503f3c
//
// 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:31:31 +0000
//
__int64 __fastcall LevelFeatureLayer::onDown2(__int64 a1)
{
char v1; // al
int v2; // eax
int v3; // esi
__int64 v4; // rbx
__int64 v5; // rax
__int64 CString; // rax
char v8; // [rsp-8h] [rbp-10h]
v8 = v1;
v2 = *(_DWORD *)(a1 + 676);
v3 = v2 - 10;
if ( v2 < 11 )
v3 = 0;
*(_DWORD *)(a1 + 676) = v3;
v4 = *(_QWORD *)(a1 + 664);
v5 = sub_10088E820("%i", v8);
CString = cocos2d::CCString::getCString(v5);
return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v4 + 928LL))(v4, CString);
}