{"type": "func", "start": 4297681916, "end": 4297681980, "name": "GJBaseGameLayer::queueButton", "pseudocode": "// \n// GJBaseGameLayer::queueButton from 0x100296bfc to 0x100296c3c (64 bytes)\n// \n// 15 xrefs:\n// > UILayer::handleAction @ 0x1000520cc\n// > UILayer::handleAction @ 0x100052348\n// > UILayer::ccTouchBegan @ 0x100052974\n// > UILayer::ccTouchEnded @ 0x100052ae4\n// > UILayer::ccTouchEnded @ 0x100052b10\n// > UILayer::processUINodeTouch @ 0x100052be0\n// > UILayer::processUINodeTouch @ 0x100052bf8\n// > UILayer::processUINodeTouch @ 0x100052d38\n// > UILayer::processUINodeTouch @ 0x100052d50\n// > UILayer::processUINodeTouch @ 0x100052d98\n// > UILayer::processUINodeTouch @ 0x100052dd8\n// > UILayer::processUINodeTouch @ 0x100052df0\n// > UILayer::processUINodeTouch @ 0x100052e40\n// > PlayLayer::resetLevel @ 0x10014becc\n// > PlayLayer::resetLevel @ 0x10014bf0c\n// \n// This function is hookable on this platform (idp: arm, 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 11:02:06 +0000\n// \n\n__int64 __fastcall GJBaseGameLayer::queueButton(__int64 result, int a2, char a3, char a4, double a5)\n{\n  int v5; // [xsp+8h] [xbp-18h] BYREF\n  char v6; // [xsp+Ch] [xbp-14h]\n  char 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    return sub_100296C3C(result + 12824, &v5);\n  }\n  return result;\n}", "assembly": "; \n; GJBaseGameLayer::queueButton from 0x100296bfc to 0x100296c3c (64 bytes)\n; \n; 15 xrefs:\n; > UILayer::handleAction @ 0x1000520cc\n; > UILayer::handleAction @ 0x100052348\n; > UILayer::ccTouchBegan @ 0x100052974\n; > UILayer::ccTouchEnded @ 0x100052ae4\n; > UILayer::ccTouchEnded @ 0x100052b10\n; > UILayer::processUINodeTouch @ 0x100052be0\n; > UILayer::processUINodeTouch @ 0x100052bf8\n; > UILayer::processUINodeTouch @ 0x100052d38\n; > UILayer::processUINodeTouch @ 0x100052d50\n; > UILayer::processUINodeTouch @ 0x100052d98\n; > UILayer::processUINodeTouch @ 0x100052dd8\n; > UILayer::processUINodeTouch @ 0x100052df0\n; > UILayer::processUINodeTouch @ 0x100052e40\n; > PlayLayer::resetLevel @ 0x10014becc\n; > PlayLayer::resetLevel @ 0x10014bf0c\n; \n; This function is hookable on this platform (idp: arm, 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 11:02:06 +0000\n; \nCBZ             W1, locret_100296C38                                   ; +0x0, 0x100296bfc\nSUB             SP, SP, #0x30                                          ; +0x4, 0x100296c00\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x100296c04\nADD             X29, SP, #0x20                                         ; +0xc, 0x100296c08\nSTP             XZR, XZR, [SP,#0x20+var_18]                            ; +0x10, 0x100296c0c\nSTR             W1, [SP,#0x20+var_18]                                  ; +0x14, 0x100296c10\nSTRB            W2, [SP,#0x20+var_18+4]                                ; +0x18, 0x100296c14\nSTRB            W3, [SP,#0x20+var_18+5]                                ; +0x1c, 0x100296c18\nMOV             W8, #0x3218                                            ; +0x20, 0x100296c1c\nSTR             D0, [SP,#0x20+var_8]                                   ; +0x24, 0x100296c20\nADD             X0, X0, X8                                             ; +0x28, 0x100296c24\nADD             X1, SP, #0x20+var_18                                   ; +0x2c, 0x100296c28\nBL              sub_100296C3C                                          ; +0x30, 0x100296c2c\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x34, 0x100296c30\nADD             SP, SP, #0x30 ; '0'                                    ; +0x38, 0x100296c34\nRET                                                                    ; +0x3c, 0x100296c38", "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"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}