{"type": "func", "start": 6442470224, "end": 6442470308, "name": "cocos2d::extension::CCControl::hasVisibleParents", "pseudocode": "// \n// cocos2d::extension::CCControl::hasVisibleParents from 0x180004b50 to 0x180004ba4 (84 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18002fdf8\n// > <???> @ 0x1800494bc\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\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 + 488LL))(this);\n  if ( !v1 )\n    return 1;\n  while ( (*(unsigned __int8 (__fastcall **)(__int64))(*(_QWORD *)v1 + 328LL))(v1) )\n  {\n    v1 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v1 + 488LL))(v1);\n    if ( !v1 )\n      return 1;\n  }\n  return 0;\n}", "assembly": "; \n; cocos2d::extension::CCControl::hasVisibleParents from 0x180004b50 to 0x180004ba4 (84 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18002fdf8\n; > <???> @ 0x1800494bc\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\npush    rbx                                                            ; +0x0, 0x180004b50\nsub     rsp, 20h                                                       ; +0x2, 0x180004b52\nmov     rax, [rcx]                                                     ; +0x6, 0x180004b56\ncall    qword ptr [rax+1E8h]                                           ; +0x9, 0x180004b59\nmov     rbx, rax                                                       ; +0xf, 0x180004b5f\ntest    rax, rax                                                       ; +0x12, 0x180004b62\njz      short loc_180004B94                                            ; +0x15, 0x180004b65\nnop     word ptr [rax+rax+00000000h]                                   ; +0x17, 0x180004b67\nmov     rax, [rbx]                                                     ; +0x20, 0x180004b70\nmov     rcx, rbx                                                       ; +0x23, 0x180004b73\ncall    qword ptr [rax+148h]                                           ; +0x26, 0x180004b76\ntest    al, al                                                         ; +0x2c, 0x180004b7c\njz      short loc_180004B9C                                            ; +0x2e, 0x180004b7e\nmov     rax, [rbx]                                                     ; +0x30, 0x180004b80\nmov     rcx, rbx                                                       ; +0x33, 0x180004b83\ncall    qword ptr [rax+1E8h]                                           ; +0x36, 0x180004b86\nmov     rbx, rax                                                       ; +0x3c, 0x180004b8c\ntest    rax, rax                                                       ; +0x3f, 0x180004b8f\njnz     short loc_180004B70                                            ; +0x42, 0x180004b92\nmov     al, 1                                                          ; +0x44, 0x180004b94\nadd     rsp, 20h                                                       ; +0x46, 0x180004b96\npop     rbx                                                            ; +0x4a, 0x180004b9a\nretn                                                                   ; +0x4b, 0x180004b9b\nxor     al, al                                                         ; +0x4c, 0x180004b9c\nadd     rsp, 20h                                                       ; +0x4e, 0x180004b9e\npop     rbx                                                            ; +0x52, 0x180004ba2\nretn                                                                   ; +0x53, 0x180004ba3", "xrefs": ["<???> @ 0x18002fdf8", "<???> @ 0x1800494bc"], "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"}