{"type": "func", "start": 9532584, "end": 9532640, "name": "DialogLayer::ccTouchBegan", "pseudocode": "// \n// DialogLayer::ccTouchBegan from 0x9174a8 to 0x9174e0 (56 bytes)\n// \n// 3 xrefs:\n// > `non-virtual thunk to'DialogLayer::ccTouchBegan @ 0x9174e4\n// > <???> @ 0x398b8\n// > <???> @ 0x11abc40\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\nbool DialogLayer::ccTouchBegan(DialogLayer *a1, cocos2d::CCTouch *a2, cocos2d::CCEvent *a3)\n{\n  _BOOL8 v3; // x0\n\n  if ( a1->m_touchID == -1 )\n  {\n    a1->m_touchID = a2->m_nId;\n    DialogLayer::handleDialogTap(a1);\n    LOBYTE(v3) = 1;\n  }\n  else\n  {\n    return (char)&dword_0 + 1;\n  }\n  return v3;\n}", "assembly": "; \n; DialogLayer::ccTouchBegan from 0x9174a8 to 0x9174e0 (56 bytes)\n; \n; 3 xrefs:\n; > `non-virtual thunk to'DialogLayer::ccTouchBegan @ 0x9174e4\n; > <???> @ 0x398b8\n; > <???> @ 0x11abc40\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\nSTP             X29, X30, [SP,#-0x10+var_s0]!                          ; +0x0, 0x9174a8\nMOV             X29, SP                                                ; +0x4, 0x9174ac\nLDR             W3, [X0,#0x258]                                        ; +0x8, 0x9174b0\nCMN             W3, #1                                                 ; +0xc, 0x9174b4\nB.EQ            loc_9174C8                                             ; +0x10, 0x9174b8\nMOV             W0, #(dword_0+1); this                                 ; +0x14, 0x9174bc\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x18, 0x9174c0\nRET                                                                    ; +0x1c, 0x9174c4\nLDR             W1, [X1,#0x38]                                         ; +0x20, 0x9174c8\nSTR             W1, [X0,#0x258]                                        ; +0x24, 0x9174cc\nBL              _ZN11DialogLayer15handleDialogTapEv; DialogLayer::handleDialogTap(void) ; +0x28, 0x9174d0\nMOV             W0, #1                                                 ; +0x2c, 0x9174d4\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x30, 0x9174d8\nRET                                                                    ; +0x34, 0x9174dc", "xrefs": ["`non-virtual thunk to'DialogLayer::ccTouchBegan @ 0x9174e4", "<???> @ 0x398b8", "<???> @ 0x11abc40"], "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"}