{"type": "func", "start": 4296321280, "end": 4296321335, "name": "GJBaseGameLayer::queueButton", "pseudocode": "// \n// GJBaseGameLayer::queueButton from 0x10014a900 to 0x10014a937 (55 bytes)\n// \n// 15 xrefs:\n// > EditorUI::playerTouchBegan @ 0x10004ee2f\n// > EditorUI::playerTouchEnded @ 0x10004ee9a\n// > PlayLayer::resetLevel @ 0x1000bedae\n// > UILayer::handleKeypress @ 0x1004c911c\n// > UILayer::handleKeypress @ 0x1004c9195\n// > UILayer::ccTouchBegan @ 0x1004c9b4a\n// > UILayer::ccTouchEnded @ 0x1004c9e59\n// > UILayer::processUINodeTouch @ 0x1004ca084\n// > UILayer::processUINodeTouch @ 0x1004ca0a3\n// > UILayer::processUINodeTouch @ 0x1004ca161\n// > UILayer::processUINodeTouch @ 0x1004ca19f\n// > UILayer::processUINodeTouch @ 0x1004ca1c1\n// > UILayer::processUINodeTouch @ 0x1004ca227\n// > UILayer::processUINodeTouch @ 0x1004ca28f\n// > UILayer::processUINodeTouch @ 0x1004ca2af\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall GJBaseGameLayer::queueButton(GJBaseGameLayer *a1, int a2, bool a3, bool a4, double a5)\n{\n  __int128 v5; // [rsp-28h] [rbp-28h] BYREF\n  double v6; // [rsp-18h] [rbp-18h]\n\n  if ( a2 )\n  {\n    v5 = 0;\n    LODWORD(v5) = a2;\n    BYTE4(v5) = a3;\n    BYTE5(v5) = a4;\n    v6 = a5;\n    ((void (__fastcall *)(std::vector<PlayerButtonCommand> *, __int128 *))sub_10014A940)(&a1->m_queuedButtons, &v5);\n  }\n}", "assembly": "; \n; GJBaseGameLayer::queueButton from 0x10014a900 to 0x10014a937 (55 bytes)\n; \n; 15 xrefs:\n; > EditorUI::playerTouchBegan @ 0x10004ee2f\n; > EditorUI::playerTouchEnded @ 0x10004ee9a\n; > PlayLayer::resetLevel @ 0x1000bedae\n; > UILayer::handleKeypress @ 0x1004c911c\n; > UILayer::handleKeypress @ 0x1004c9195\n; > UILayer::ccTouchBegan @ 0x1004c9b4a\n; > UILayer::ccTouchEnded @ 0x1004c9e59\n; > UILayer::processUINodeTouch @ 0x1004ca084\n; > UILayer::processUINodeTouch @ 0x1004ca0a3\n; > UILayer::processUINodeTouch @ 0x1004ca161\n; > UILayer::processUINodeTouch @ 0x1004ca19f\n; > UILayer::processUINodeTouch @ 0x1004ca1c1\n; > UILayer::processUINodeTouch @ 0x1004ca227\n; > UILayer::processUINodeTouch @ 0x1004ca28f\n; > UILayer::processUINodeTouch @ 0x1004ca2af\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\ntest    esi, esi                                                       ; +0x0, 0x10014a900\njz      short locret_10014A936                                         ; +0x2, 0x10014a902\npush    rbp                                                            ; +0x4, 0x10014a904\nmov     rbp, rsp                                                       ; +0x5, 0x10014a905\nsub     rsp, 20h                                                       ; +0x8, 0x10014a908\nxorps   xmm1, xmm1                                                     ; +0xc, 0x10014a90c\nmovaps  xmmword ptr [rbp-20h], xmm1                                    ; +0xf, 0x10014a90f\nmov     [rbp-20h], esi                                                 ; +0x13, 0x10014a913\nmov     [rbp-1Ch], dl                                                  ; +0x16, 0x10014a916\nmov     [rbp-1Bh], cl                                                  ; +0x19, 0x10014a919\nmovsd   qword ptr [rbp-10h], xmm0                                      ; +0x1c, 0x10014a91c\nadd     rdi, 3160h                                                     ; +0x21, 0x10014a921\nlea     rsi, [rbp-20h]                                                 ; +0x28, 0x10014a928\ncall    sub_10014A940                                                  ; +0x2c, 0x10014a92c\nadd     rsp, 20h                                                       ; +0x31, 0x10014a931\npop     rbp                                                            ; +0x35, 0x10014a935\nretn                                                                   ; +0x36, 0x10014a936", "xrefs": ["EditorUI::playerTouchBegan @ 0x10004ee2f", "EditorUI::playerTouchEnded @ 0x10004ee9a", "PlayLayer::resetLevel @ 0x1000bedae", "UILayer::handleKeypress @ 0x1004c911c", "UILayer::handleKeypress @ 0x1004c9195", "UILayer::ccTouchBegan @ 0x1004c9b4a", "UILayer::ccTouchEnded @ 0x1004c9e59", "UILayer::processUINodeTouch @ 0x1004ca084", "UILayer::processUINodeTouch @ 0x1004ca0a3", "UILayer::processUINodeTouch @ 0x1004ca161", "UILayer::processUINodeTouch @ 0x1004ca19f", "UILayer::processUINodeTouch @ 0x1004ca1c1", "UILayer::processUINodeTouch @ 0x1004ca227", "UILayer::processUINodeTouch @ 0x1004ca28f", "UILayer::processUINodeTouch @ 0x1004ca2af"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}