{"type": "func", "start": 5369638352, "end": 5369638482, "name": "EditorUI::toggleObjectInfoLabel", "pseudocode": "// \n// EditorUI::toggleObjectInfoLabel from 0x1400e2dd0 to 0x1400e2e52 (130 bytes)\n// \n// 3 xrefs:\n// > EditorPauseLayer::toggleShowObjectInfo @ 0x1400dd4ba\n// > EditorUI::init @ 0x1400e1878\n// > <???> @ 0x1406c8c40\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 EditorUI::toggleObjectInfoLabel(EditorUI *a1)\n{\n  GameManager *v2; // rcx\n  _BOOL8 GameVariable; // rbx\n  void *v4; // [rsp+30h] [rbp+8h]\n\n  v2 = (GameManager *)qword_1406C2ED8;\n  if ( !qword_1406C2ED8 )\n  {\n    v4 = operator new(0x668u);\n    qword_1406C2ED8 = sub_14017AB00(v4);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n    v2 = (GameManager *)qword_1406C2ED8;\n  }\n  GameVariable = GameManager::getGameVariable(v2, \"0041\");\n  a1->m_objectInfoLabel->setVisible(a1->m_objectInfoLabel, GameVariable);\n  if ( GameVariable )\n    EditorUI::updateObjectInfoLabel(a1);\n}", "assembly": "; \n; EditorUI::toggleObjectInfoLabel from 0x1400e2dd0 to 0x1400e2e52 (130 bytes)\n; \n; 3 xrefs:\n; > EditorPauseLayer::toggleShowObjectInfo @ 0x1400dd4ba\n; > EditorUI::init @ 0x1400e1878\n; > <???> @ 0x1406c8c40\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_8], rbx                                               ; +0x0, 0x1400e2dd0\npush    rdi                                                            ; +0x5, 0x1400e2dd5\nsub     rsp, 20h                                                       ; +0x6, 0x1400e2dd6\nmov     rdi, rcx                                                       ; +0xa, 0x1400e2dda\nmov     rcx, cs:qword_1406C2ED8                                        ; +0xd, 0x1400e2ddd\ntest    rcx, rcx                                                       ; +0x14, 0x1400e2de4\njnz     short loc_1400E2E18                                            ; +0x17, 0x1400e2de7\nmov     ecx, 668h; Size                                                ; +0x19, 0x1400e2de9\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1e, 0x1400e2dee\nmov     [rsp+28h+arg_0], rax                                           ; +0x23, 0x1400e2df3\nmov     rcx, rax                                                       ; +0x28, 0x1400e2df8\ncall    sub_14017AB00                                                  ; +0x2b, 0x1400e2dfb\nnop                                                                    ; +0x30, 0x1400e2e00\nmov     cs:qword_1406C2ED8, rax                                        ; +0x31, 0x1400e2e01\nmov     rdx, [rax]                                                     ; +0x38, 0x1400e2e08\nmov     rcx, rax                                                       ; +0x3b, 0x1400e2e0b\ncall    qword ptr [rdx+48h]                                            ; +0x3e, 0x1400e2e0e\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x41, 0x1400e2e11\nlea     rdx, a0041; \"0041\"                                             ; +0x48, 0x1400e2e18\ncall    GameManager__getGameVariable                                   ; +0x4f, 0x1400e2e1f\nmovzx   ebx, al                                                        ; +0x54, 0x1400e2e24\nmov     rcx, [rdi+2B0h]                                                ; +0x57, 0x1400e2e27\nmov     r8, [rcx]                                                      ; +0x5e, 0x1400e2e2e\nmovzx   edx, al                                                        ; +0x61, 0x1400e2e31\ncall    qword ptr [r8+140h]                                            ; +0x64, 0x1400e2e34\ntest    bl, bl                                                         ; +0x6b, 0x1400e2e3b\njz      short loc_1400E2E47                                            ; +0x6d, 0x1400e2e3d\nmov     rcx, rdi                                                       ; +0x6f, 0x1400e2e3f\ncall    EditorUI__updateObjectInfoLabel                                ; +0x72, 0x1400e2e42\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x77, 0x1400e2e47\nadd     rsp, 20h                                                       ; +0x7c, 0x1400e2e4c\npop     rdi                                                            ; +0x80, 0x1400e2e50\nretn                                                                   ; +0x81, 0x1400e2e51", "xrefs": ["EditorPauseLayer::toggleShowObjectInfo @ 0x1400dd4ba", "EditorUI::init @ 0x1400e1878", "<???> @ 0x1406c8c40"], "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"}