{"type": "func", "start": 6442468816, "end": 6442468900, "name": "cocos2d::extension::CCControl::hasVisibleParents", "pseudocode": "// \n// cocos2d::extension::CCControl::hasVisibleParents from 0x1800045d0 to 0x180004624 (84 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x180032408\n// > <???> @ 0x18004b408\n// \n// This function is hookable on this platform (idp: pc, 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 12:15:35 +0000\n// \n\nchar __fastcall cocos2d::extension::CCControl::hasVisibleParents(cocos2d::extension::CCControl *this)\n{\n  __int64 v1; // rbx\n\n  v1 = (*(__int64 (__fastcall **)(cocos2d::extension::CCControl *))(*(_QWORD *)this + 504LL))(this);\n  if ( !v1 )\n    return 1;\n  while ( (*(unsigned __int8 (__fastcall **)(__int64))(*(_QWORD *)v1 + 344LL))(v1) )\n  {\n    v1 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v1 + 504LL))(v1);\n    if ( !v1 )\n      return 1;\n  }\n  return 0;\n}", "assembly": "; \n; cocos2d::extension::CCControl::hasVisibleParents from 0x1800045d0 to 0x180004624 (84 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x180032408\n; > <???> @ 0x18004b408\n; \n; This function is hookable on this platform (idp: pc, 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 12:15:35 +0000\n; \npush    rbx                                                            ; +0x0, 0x1800045d0\nsub     rsp, 20h                                                       ; +0x2, 0x1800045d2\nmov     rax, [rcx]                                                     ; +0x6, 0x1800045d6\ncall    qword ptr [rax+1F8h]                                           ; +0x9, 0x1800045d9\nmov     rbx, rax                                                       ; +0xf, 0x1800045df\ntest    rax, rax                                                       ; +0x12, 0x1800045e2\njz      short loc_180004614                                            ; +0x15, 0x1800045e5\nnop     word ptr [rax+rax+00000000h]                                   ; +0x17, 0x1800045e7\nmov     rax, [rbx]                                                     ; +0x20, 0x1800045f0\nmov     rcx, rbx                                                       ; +0x23, 0x1800045f3\ncall    qword ptr [rax+158h]                                           ; +0x26, 0x1800045f6\ntest    al, al                                                         ; +0x2c, 0x1800045fc\njz      short loc_18000461C                                            ; +0x2e, 0x1800045fe\nmov     rax, [rbx]                                                     ; +0x30, 0x180004600\nmov     rcx, rbx                                                       ; +0x33, 0x180004603\ncall    qword ptr [rax+1F8h]                                           ; +0x36, 0x180004606\nmov     rbx, rax                                                       ; +0x3c, 0x18000460c\ntest    rax, rax                                                       ; +0x3f, 0x18000460f\njnz     short loc_1800045F0                                            ; +0x42, 0x180004612\nmov     al, 1                                                          ; +0x44, 0x180004614\nadd     rsp, 20h                                                       ; +0x46, 0x180004616\npop     rbx                                                            ; +0x4a, 0x18000461a\nretn                                                                   ; +0x4b, 0x18000461b\nxor     al, al                                                         ; +0x4c, 0x18000461c\nadd     rsp, 20h                                                       ; +0x4e, 0x18000461e\npop     rbx                                                            ; +0x52, 0x180004622\nretn                                                                   ; +0x53, 0x180004623", "xrefs": ["<???> @ 0x180032408", "<???> @ 0x18004b408"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}