{"type": "func", "start": 6442649280, "end": 6442649335, "name": "cocos2d::CCToggleVisibility::update", "pseudocode": "// \n// cocos2d::CCToggleVisibility::update from 0x1800306c0 to 0x1800306f7 (55 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1800e8ec8\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b01a4\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\nvoid __fastcall cocos2d::CCToggleVisibility::update(cocos2d::CCToggleVisibility *this, float a2)\n{\n  cocos2d::CCNode *m_pTarget; // rcx\n  cocos2d::CCNode_vtbl *v4; // rbx\n  __int64 v5; // rdx\n\n  m_pTarget = this->m_pTarget;\n  v4 = m_pTarget->__vftable;\n  LOBYTE(v5) = ((unsigned __int8 (__fastcall *)(cocos2d::CCNode *))m_pTarget->isVisible)(m_pTarget) == 0;\n  ((void (__fastcall *)(cocos2d::CCNode *, __int64))v4->setVisible)(this->m_pTarget, v5);\n}", "assembly": "; \n; cocos2d::CCToggleVisibility::update from 0x1800306c0 to 0x1800306f7 (55 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1800e8ec8\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b01a4\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800306c0\npush    rdi                                                            ; +0x5, 0x1800306c5\nsub     rsp, 20h                                                       ; +0x6, 0x1800306c6\nmov     rdi, rcx                                                       ; +0xa, 0x1800306ca\nmov     rcx, [rcx+40h]                                                 ; +0xd, 0x1800306cd\nmov     rbx, [rcx]                                                     ; +0x11, 0x1800306d1\ncall    qword ptr [rbx+148h]                                           ; +0x14, 0x1800306d4\nmov     rcx, [rdi+40h]                                                 ; +0x1a, 0x1800306da\ntest    al, al                                                         ; +0x1e, 0x1800306de\nsetz    dl                                                             ; +0x20, 0x1800306e0\nmov     rax, [rbx+140h]                                                ; +0x23, 0x1800306e3\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x2a, 0x1800306ea\nadd     rsp, 20h                                                       ; +0x2f, 0x1800306ef\npop     rdi                                                            ; +0x33, 0x1800306f3\njmp     rax                                                            ; +0x34, 0x1800306f4", "xrefs": ["<???> @ 0x1800e8ec8", "<???> @ 0x1801438a8", "<???> @ 0x1801b01a4"], "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"}