{"type": "func", "start": 4297060036, "end": 4297060172, "name": "CCTextInputNode::isVisibleInTree", "pseudocode": "// \n// CCTextInputNode::isVisibleInTree from 0x1001feec4 to 0x1001fef4c (136 bytes)\n// \n// 3 xrefs:\n// > CCTextInputNode::ccTouchBegan @ 0x1001fefc8\n// > CCTextInputNode::rightClick @ 0x1001ff5b4\n// > CCTextInputNode::scrollWheel @ 0x1001ff934\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:00:44 +0000\n// \n\n__int64 __fastcall CCTextInputNode::isVisibleInTree(__int64 a1)\n{\n  __int64 v2; // x0\n  __int64 v3; // x20\n  __int64 v4; // x19\n\n  if ( !(*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a1 + 352LL))(a1) )\n    return 0;\n  v2 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 512LL))(a1);\n  if ( !v2 )\n    return 1;\n  v3 = v2;\n  do\n  {\n    v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 352LL))(v3);\n    if ( !(_DWORD)v4 )\n      break;\n    v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 512LL))(v3);\n  }\n  while ( v3 );\n  return v4;\n}", "assembly": "; \n; CCTextInputNode::isVisibleInTree from 0x1001feec4 to 0x1001fef4c (136 bytes)\n; \n; 3 xrefs:\n; > CCTextInputNode::ccTouchBegan @ 0x1001fefc8\n; > CCTextInputNode::rightClick @ 0x1001ff5b4\n; > CCTextInputNode::scrollWheel @ 0x1001ff934\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:00:44 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1001feec4\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1001feec8\nADD             X29, SP, #0x10                                         ; +0x8, 0x1001feecc\nMOV             X19, X0                                                ; +0xc, 0x1001feed0\nLDR             X8, [X0]                                               ; +0x10, 0x1001feed4\nLDR             X8, [X8,#0x160]                                        ; +0x14, 0x1001feed8\nBLR             X8                                                     ; +0x18, 0x1001feedc\nCBZ             W0, loc_1001FEF30                                      ; +0x1c, 0x1001feee0\nLDR             X8, [X19]                                              ; +0x20, 0x1001feee4\nLDR             X8, [X8,#0x200]                                        ; +0x24, 0x1001feee8\nMOV             X0, X19                                                ; +0x28, 0x1001feeec\nBLR             X8                                                     ; +0x2c, 0x1001feef0\nCBZ             X0, loc_1001FEF38                                      ; +0x30, 0x1001feef4\nMOV             X20, X0                                                ; +0x34, 0x1001feef8\nLDR             X8, [X20]                                              ; +0x38, 0x1001feefc\nLDR             X8, [X8,#0x160]                                        ; +0x3c, 0x1001fef00\nMOV             X0, X20                                                ; +0x40, 0x1001fef04\nBLR             X8                                                     ; +0x44, 0x1001fef08\nMOV             X19, X0                                                ; +0x48, 0x1001fef0c\nCBZ             W0, loc_1001FEF3C                                      ; +0x4c, 0x1001fef10\nLDR             X8, [X20]                                              ; +0x50, 0x1001fef14\nLDR             X8, [X8,#0x200]                                        ; +0x54, 0x1001fef18\nMOV             X0, X20                                                ; +0x58, 0x1001fef1c\nBLR             X8                                                     ; +0x5c, 0x1001fef20\nMOV             X20, X0                                                ; +0x60, 0x1001fef24\nCBNZ            X0, loc_1001FEEFC                                      ; +0x64, 0x1001fef28\nB               loc_1001FEF3C                                          ; +0x68, 0x1001fef2c\nMOV             W19, #0                                                ; +0x6c, 0x1001fef30\nB               loc_1001FEF3C                                          ; +0x70, 0x1001fef34\nMOV             W19, #1                                                ; +0x74, 0x1001fef38\nMOV             X0, X19                                                ; +0x78, 0x1001fef3c\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x7c, 0x1001fef40\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x80, 0x1001fef44\nRET                                                                    ; +0x84, 0x1001fef48", "xrefs": ["CCTextInputNode::ccTouchBegan @ 0x1001fefc8", "CCTextInputNode::rightClick @ 0x1001ff5b4", "CCTextInputNode::scrollWheel @ 0x1001ff934"], "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"}