//
// GJBaseGameLayer::queueButton from 0x100128c20 to 0x100128c57 (55 bytes)
//
// 19 xrefs:
// > PlayLayer::resetLevel @ 0x10008d394
// > PlayLayer::resetLevel @ 0x10008d3ba
// > PlayLayer::resetLevel @ 0x10008d3df
// > UILayer::handleAction @ 0x1004c437a
// > UILayer::handleAction @ 0x1004c4759
// > UILayer::ccTouchBegan @ 0x1004c50fa
// > UILayer::ccTouchEnded @ 0x1004c5409
// > UILayer::processUINodeTouch @ 0x1004c55e1
// > UILayer::processUINodeTouch @ 0x1004c5600
// > UILayer::processUINodeTouch @ 0x1004c569e
// > UILayer::processUINodeTouch @ 0x1004c56bd
// > UILayer::processUINodeTouch @ 0x1004c57bf
// > UILayer::processUINodeTouch @ 0x1004c57fd
// > UILayer::processUINodeTouch @ 0x1004c581f
// > UILayer::processUINodeTouch @ 0x1004c5887
// > UILayer::processUINodeTouch @ 0x1004c58ef
// > UILayer::processUINodeTouch @ 0x1004c590f
// > EditorUI::playerTouchBegan @ 0x10060b4cf
// > EditorUI::playerTouchEnded @ 0x10060b53a
//
// 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:24:43 +0000
//
__int64 __fastcall GJBaseGameLayer::queueButton(__int64 a1, int a2, char a3, char a4, double a5)
{
__int64 result; // rax
__int128 v6; // [rsp-28h] [rbp-28h] BYREF
double v7; // [rsp-18h] [rbp-18h]
if ( a2 )
{
v6 = 0;
LODWORD(v6) = a2;
BYTE4(v6) = a3;
BYTE5(v6) = a4;
v7 = a5;
return ((__int64 (__fastcall *)(__int64, __int128 *))sub_100128C60)(a1 + 12824, &v6);
}
return result;
}