{"type": "func", "start": 5369614400, "end": 5369614470, "name": "EditorPauseLayer::toggleHideInvisible", "pseudocode": "// \n// EditorPauseLayer::toggleHideInvisible from 0x1400dd040 to 0x1400dd086 (70 bytes)\n// \n// 2 xrefs:\n// > EditorPauseLayer::customSetup @ 0x1400dc5b0\n// > <???> @ 0x1406c89a0\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 EditorPauseLayer::toggleHideInvisible(EditorPauseLayer *a1, cocos2d::CCObject *a2)\n{\n  void *v2; // [rsp+40h] [rbp+18h]\n\n  if ( !qword_1406C2ED8 )\n  {\n    v2 = operator new(0x668u);\n    qword_1406C2ED8 = sub_14017AB00(v2);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n  }\n  GameManager::toggleGameVariable((GameManager *)a1, \"0121\");\n}", "assembly": "; \n; EditorPauseLayer::toggleHideInvisible from 0x1400dd040 to 0x1400dd086 (70 bytes)\n; \n; 2 xrefs:\n; > EditorPauseLayer::customSetup @ 0x1400dc5b0\n; > <???> @ 0x1406c89a0\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\nsub     rsp, 28h                                                       ; +0x0, 0x1400dd040\ncmp     cs:qword_1406C2ED8, 0                                          ; +0x4, 0x1400dd044\njnz     short loc_1400DD076                                            ; +0xc, 0x1400dd04c\nmov     ecx, 668h; Size                                                ; +0xe, 0x1400dd04e\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x13, 0x1400dd053\nmov     [rsp+28h+arg_10], rax                                          ; +0x18, 0x1400dd058\nmov     rcx, rax                                                       ; +0x1d, 0x1400dd05d\ncall    sub_14017AB00                                                  ; +0x20, 0x1400dd060\nnop                                                                    ; +0x25, 0x1400dd065\nmov     cs:qword_1406C2ED8, rax                                        ; +0x26, 0x1400dd066\nmov     rdx, [rax]                                                     ; +0x2d, 0x1400dd06d\nmov     rcx, rax                                                       ; +0x30, 0x1400dd070\ncall    qword ptr [rdx+48h]                                            ; +0x33, 0x1400dd073\nlea     rdx, a0121; \"0121\"                                             ; +0x36, 0x1400dd076\nadd     rsp, 28h                                                       ; +0x3d, 0x1400dd07d\njmp     GameManager__toggleGameVariable                                ; +0x41, 0x1400dd081", "xrefs": ["EditorPauseLayer::customSetup @ 0x1400dc5b0", "<???> @ 0x1406c89a0"], "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"}