{"type": "func", "start": 4297042364, "end": 4297042428, "name": "GJBaseGameLayer::queueButton", "pseudocode": "// \n// GJBaseGameLayer::queueButton from 0x1001fa9bc to 0x1001fa9fc (64 bytes)\n// \n// 12 xrefs:\n// > UILayer::handleKeypress @ 0x100049e10\n// > UILayer::ccTouchBegan @ 0x10004a248\n// > UILayer::ccTouchEnded @ 0x10004a3b8\n// > UILayer::ccTouchEnded @ 0x10004a3e4\n// > UILayer::processUINodeTouch @ 0x10004a4ac\n// > UILayer::processUINodeTouch @ 0x10004a5a4\n// > UILayer::processUINodeTouch @ 0x10004a5bc\n// > UILayer::processUINodeTouch @ 0x10004a60c\n// > UILayer::processUINodeTouch @ 0x10004a650\n// > UILayer::processUINodeTouch @ 0x10004a668\n// > UILayer::processUINodeTouch @ 0x10004a6b0\n// > PlayLayer::resetLevel @ 0x100122358\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  int v5; // [xsp+8h] [xbp-18h] BYREF\n  bool v6; // [xsp+Ch] [xbp-14h]\n  bool v7; // [xsp+Dh] [xbp-13h]\n  __int16 v8; // [xsp+Eh] [xbp-12h]\n  __int64 v9; // [xsp+10h] [xbp-10h]\n  double v10; // [xsp+18h] [xbp-8h]\n\n  if ( a2 )\n  {\n    v8 = 0;\n    v9 = 0;\n    v5 = a2;\n    v6 = a3;\n    v7 = a4;\n    v10 = a5;\n    sub_1001FA9FC(&a1->m_queuedButtons, &v5);\n  }\n}", "assembly": "; \n; GJBaseGameLayer::queueButton from 0x1001fa9bc to 0x1001fa9fc (64 bytes)\n; \n; 12 xrefs:\n; > UILayer::handleKeypress @ 0x100049e10\n; > UILayer::ccTouchBegan @ 0x10004a248\n; > UILayer::ccTouchEnded @ 0x10004a3b8\n; > UILayer::ccTouchEnded @ 0x10004a3e4\n; > UILayer::processUINodeTouch @ 0x10004a4ac\n; > UILayer::processUINodeTouch @ 0x10004a5a4\n; > UILayer::processUINodeTouch @ 0x10004a5bc\n; > UILayer::processUINodeTouch @ 0x10004a60c\n; > UILayer::processUINodeTouch @ 0x10004a650\n; > UILayer::processUINodeTouch @ 0x10004a668\n; > UILayer::processUINodeTouch @ 0x10004a6b0\n; > PlayLayer::resetLevel @ 0x100122358\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\nCBZ             W1, locret_1001FA9F8                                   ; +0x0, 0x1001fa9bc\nSUB             SP, SP, #0x30                                          ; +0x4, 0x1001fa9c0\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x1001fa9c4\nADD             X29, SP, #0x20                                         ; +0xc, 0x1001fa9c8\nSTP             XZR, XZR, [SP,#0x20+var_18]                            ; +0x10, 0x1001fa9cc\nSTR             W1, [SP,#0x20+var_18]                                  ; +0x14, 0x1001fa9d0\nSTRB            W2, [SP,#0x20+var_18+4]                                ; +0x18, 0x1001fa9d4\nSTRB            W3, [SP,#0x20+var_18+5]                                ; +0x1c, 0x1001fa9d8\nMOV             W8, #0x3188                                            ; +0x20, 0x1001fa9dc\nSTR             D0, [SP,#0x20+var_8]                                   ; +0x24, 0x1001fa9e0\nADD             X0, X0, X8                                             ; +0x28, 0x1001fa9e4\nADD             X1, SP, #0x20+var_18                                   ; +0x2c, 0x1001fa9e8\nBL              sub_1001FA9FC                                          ; +0x30, 0x1001fa9ec\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x34, 0x1001fa9f0\nADD             SP, SP, #0x30 ; '0'                                    ; +0x38, 0x1001fa9f4\nRET                                                                    ; +0x3c, 0x1001fa9f8", "xrefs": ["UILayer::handleKeypress @ 0x100049e10", "UILayer::ccTouchBegan @ 0x10004a248", "UILayer::ccTouchEnded @ 0x10004a3b8", "UILayer::ccTouchEnded @ 0x10004a3e4", "UILayer::processUINodeTouch @ 0x10004a4ac", "UILayer::processUINodeTouch @ 0x10004a5a4", "UILayer::processUINodeTouch @ 0x10004a5bc", "UILayer::processUINodeTouch @ 0x10004a60c", "UILayer::processUINodeTouch @ 0x10004a650", "UILayer::processUINodeTouch @ 0x10004a668", "UILayer::processUINodeTouch @ 0x10004a6b0", "PlayLayer::resetLevel @ 0x100122358"], "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"}