{"type": "func", "start": 4300308608, "end": 4300308670, "name": "CCBlockLayer::layerHidden", "pseudocode": "// \n// CCBlockLayer::layerHidden from 0x100518080 to 0x1005180be (62 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1008f7590\n// > <???> @ 0x1009301b8\n// > <???> @ 0x1009601f8\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 CCBlockLayer::layerHidden(CCBlockLayer *a1)\n{\n  ((void (__fastcall *)(CCBlockLayer *, _QWORD))a1->setVisible)(a1, 0);\n  if ( a1->m_closeOnHide )\n    ((void (__fastcall *)(CCBlockLayer *, __int64))a1->removeFromParentAndCleanup)(a1, 1);\n}", "assembly": "; \n; CCBlockLayer::layerHidden from 0x100518080 to 0x1005180be (62 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1008f7590\n; > <???> @ 0x1009301b8\n; > <???> @ 0x1009601f8\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    rbp                                                            ; +0x0, 0x100518080\nmov     rbp, rsp                                                       ; +0x1, 0x100518081\npush    rbx                                                            ; +0x4, 0x100518084\npush    rax                                                            ; +0x5, 0x100518085\nmov     rbx, rdi                                                       ; +0x6, 0x100518086\nmov     rax, [rdi]                                                     ; +0x9, 0x100518089\nxor     esi, esi                                                       ; +0xc, 0x10051808c\ncall    qword ptr [rax+148h]                                           ; +0xe, 0x10051808e\ncmp     byte ptr [rbx+220h], 1                                         ; +0x14, 0x100518094\njnz     short loc_1005180B7                                            ; +0x1b, 0x10051809b\nmov     rax, [rbx]                                                     ; +0x1d, 0x10051809d\nmov     rax, [rax+200h]                                                ; +0x20, 0x1005180a0\nmov     rdi, rbx                                                       ; +0x27, 0x1005180a7\nmov     esi, 1                                                         ; +0x2a, 0x1005180aa\nadd     rsp, 8                                                         ; +0x2f, 0x1005180af\npop     rbx                                                            ; +0x33, 0x1005180b3\npop     rbp                                                            ; +0x34, 0x1005180b4\njmp     rax                                                            ; +0x35, 0x1005180b5\nadd     rsp, 8                                                         ; +0x37, 0x1005180b7\npop     rbx                                                            ; +0x3b, 0x1005180bb\npop     rbp                                                            ; +0x3c, 0x1005180bc\nretn                                                                   ; +0x3d, 0x1005180bd", "xrefs": ["<???> @ 0x1008f7590", "<???> @ 0x1009301b8", "<???> @ 0x1009601f8"], "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"}