{"type": "func", "start": 4296182816, "end": 4296182871, "name": "GJBaseGameLayer::queueButton", "pseudocode": "// \n// GJBaseGameLayer::queueButton from 0x100128c20 to 0x100128c57 (55 bytes)\n// \n// 19 xrefs:\n// > PlayLayer::resetLevel @ 0x10008d394\n// > PlayLayer::resetLevel @ 0x10008d3ba\n// > PlayLayer::resetLevel @ 0x10008d3df\n// > UILayer::handleAction @ 0x1004c437a\n// > UILayer::handleAction @ 0x1004c4759\n// > UILayer::ccTouchBegan @ 0x1004c50fa\n// > UILayer::ccTouchEnded @ 0x1004c5409\n// > UILayer::processUINodeTouch @ 0x1004c55e1\n// > UILayer::processUINodeTouch @ 0x1004c5600\n// > UILayer::processUINodeTouch @ 0x1004c569e\n// > UILayer::processUINodeTouch @ 0x1004c56bd\n// > UILayer::processUINodeTouch @ 0x1004c57bf\n// > UILayer::processUINodeTouch @ 0x1004c57fd\n// > UILayer::processUINodeTouch @ 0x1004c581f\n// > UILayer::processUINodeTouch @ 0x1004c5887\n// > UILayer::processUINodeTouch @ 0x1004c58ef\n// > UILayer::processUINodeTouch @ 0x1004c590f\n// > EditorUI::playerTouchBegan @ 0x10060b4cf\n// > EditorUI::playerTouchEnded @ 0x10060b53a\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:24:43 +0000\n// \n\n__int64 __fastcall GJBaseGameLayer::queueButton(__int64 a1, int a2, char a3, char a4, double a5)\n{\n  __int64 result; // rax\n  __int128 v6; // [rsp-28h] [rbp-28h] BYREF\n  double v7; // [rsp-18h] [rbp-18h]\n\n  if ( a2 )\n  {\n    v6 = 0;\n    LODWORD(v6) = a2;\n    BYTE4(v6) = a3;\n    BYTE5(v6) = a4;\n    v7 = a5;\n    return ((__int64 (__fastcall *)(__int64, __int128 *))sub_100128C60)(a1 + 12824, &v6);\n  }\n  return result;\n}", "assembly": "; \n; GJBaseGameLayer::queueButton from 0x100128c20 to 0x100128c57 (55 bytes)\n; \n; 19 xrefs:\n; > PlayLayer::resetLevel @ 0x10008d394\n; > PlayLayer::resetLevel @ 0x10008d3ba\n; > PlayLayer::resetLevel @ 0x10008d3df\n; > UILayer::handleAction @ 0x1004c437a\n; > UILayer::handleAction @ 0x1004c4759\n; > UILayer::ccTouchBegan @ 0x1004c50fa\n; > UILayer::ccTouchEnded @ 0x1004c5409\n; > UILayer::processUINodeTouch @ 0x1004c55e1\n; > UILayer::processUINodeTouch @ 0x1004c5600\n; > UILayer::processUINodeTouch @ 0x1004c569e\n; > UILayer::processUINodeTouch @ 0x1004c56bd\n; > UILayer::processUINodeTouch @ 0x1004c57bf\n; > UILayer::processUINodeTouch @ 0x1004c57fd\n; > UILayer::processUINodeTouch @ 0x1004c581f\n; > UILayer::processUINodeTouch @ 0x1004c5887\n; > UILayer::processUINodeTouch @ 0x1004c58ef\n; > UILayer::processUINodeTouch @ 0x1004c590f\n; > EditorUI::playerTouchBegan @ 0x10060b4cf\n; > EditorUI::playerTouchEnded @ 0x10060b53a\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:24:43 +0000\n; \ntest    esi, esi                                                       ; +0x0, 0x100128c20\njz      short locret_100128C56                                         ; +0x2, 0x100128c22\npush    rbp                                                            ; +0x4, 0x100128c24\nmov     rbp, rsp                                                       ; +0x5, 0x100128c25\nsub     rsp, 20h                                                       ; +0x8, 0x100128c28\nxorps   xmm1, xmm1                                                     ; +0xc, 0x100128c2c\nmovaps  xmmword ptr [rbp-20h], xmm1                                    ; +0xf, 0x100128c2f\nmov     [rbp-20h], esi                                                 ; +0x13, 0x100128c33\nmov     [rbp-1Ch], dl                                                  ; +0x16, 0x100128c36\nmov     [rbp-1Bh], cl                                                  ; +0x19, 0x100128c39\nmovsd   qword ptr [rbp-10h], xmm0                                      ; +0x1c, 0x100128c3c\nadd     rdi, 3218h                                                     ; +0x21, 0x100128c41\nlea     rsi, [rbp-20h]                                                 ; +0x28, 0x100128c48\ncall    sub_100128C60                                                  ; +0x2c, 0x100128c4c\nadd     rsp, 20h                                                       ; +0x31, 0x100128c51\npop     rbp                                                            ; +0x35, 0x100128c55\nretn                                                                   ; +0x36, 0x100128c56", "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"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}