//
// GJBaseGameLayer::queueButton from 0x100296bfc to 0x100296c3c (64 bytes)
//
// 15 xrefs:
// > UILayer::handleAction @ 0x1000520cc
// > UILayer::handleAction @ 0x100052348
// > UILayer::ccTouchBegan @ 0x100052974
// > UILayer::ccTouchEnded @ 0x100052ae4
// > UILayer::ccTouchEnded @ 0x100052b10
// > UILayer::processUINodeTouch @ 0x100052be0
// > UILayer::processUINodeTouch @ 0x100052bf8
// > UILayer::processUINodeTouch @ 0x100052d38
// > UILayer::processUINodeTouch @ 0x100052d50
// > UILayer::processUINodeTouch @ 0x100052d98
// > UILayer::processUINodeTouch @ 0x100052dd8
// > UILayer::processUINodeTouch @ 0x100052df0
// > UILayer::processUINodeTouch @ 0x100052e40
// > PlayLayer::resetLevel @ 0x10014becc
// > PlayLayer::resetLevel @ 0x10014bf0c
//
// 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:02:06 +0000
//
__int64 __fastcall GJBaseGameLayer::queueButton(__int64 result, int a2, char a3, char a4, double a5)
{
int v5; // [xsp+8h] [xbp-18h] BYREF
char v6; // [xsp+Ch] [xbp-14h]
char v7; // [xsp+Dh] [xbp-13h]
__int16 v8; // [xsp+Eh] [xbp-12h]
__int64 v9; // [xsp+10h] [xbp-10h]
double v10; // [xsp+18h] [xbp-8h]
if ( a2 )
{
v8 = 0;
v9 = 0;
v5 = a2;
v6 = a3;
v7 = a4;
v10 = a5;
return sub_100296C3C(result + 12824, &v5);
}
return result;
}