{"type": "func", "start": 5370844496, "end": 5370844575, "name": "EndPortalObject::setVisible", "pseudocode": "// \n// EndPortalObject::setVisible from 0x140209550 to 0x14020959f (79 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x140754f38\n// > <???> @ 0x14091b344\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:28:16 +0000\n// \n\n__int64 __fastcall EndPortalObject::setVisible(__int64 a1, unsigned __int8 a2)\n{\n  char v4; // si\n  __int64 result; // rax\n  __int64 v6; // rdx\n\n  v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 344LL))(a1);\n  result = GameObject::setVisible(a1, a2);\n  if ( a2 )\n  {\n    if ( !v4 )\n    {\n      LOBYTE(v6) = 1;\n      return EndPortalObject::updateEndPos(a1, v6);\n    }\n  }\n  return result;\n}", "assembly": "; \n; EndPortalObject::setVisible from 0x140209550 to 0x14020959f (79 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x140754f38\n; > <???> @ 0x14091b344\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:28:16 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x140209550\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x140209555\npush    rdi                                                            ; +0xa, 0x14020955a\nsub     rsp, 20h                                                       ; +0xb, 0x14020955b\nmov     rax, [rcx]                                                     ; +0xf, 0x14020955f\nmovzx   ebx, dl                                                        ; +0x12, 0x140209562\nmov     rdi, rcx                                                       ; +0x15, 0x140209565\ncall    qword ptr [rax+158h]                                           ; +0x18, 0x140209568\nmovzx   edx, bl                                                        ; +0x1e, 0x14020956e\nmov     rcx, rdi                                                       ; +0x21, 0x140209571\nmovzx   esi, al                                                        ; +0x24, 0x140209574\ncall    GameObject__setVisible                                         ; +0x27, 0x140209577\ntest    bl, bl                                                         ; +0x2c, 0x14020957c\njz      short loc_14020958F                                            ; +0x2e, 0x14020957e\ntest    sil, sil                                                       ; +0x30, 0x140209580\njnz     short loc_14020958F                                            ; +0x33, 0x140209583\nmov     dl, 1                                                          ; +0x35, 0x140209585\nmov     rcx, rdi                                                       ; +0x37, 0x140209587\ncall    EndPortalObject__updateEndPos                                  ; +0x3a, 0x14020958a\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x3f, 0x14020958f\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x44, 0x140209594\nadd     rsp, 20h                                                       ; +0x49, 0x140209599\npop     rdi                                                            ; +0x4d, 0x14020959d\nretn                                                                   ; +0x4e, 0x14020959e", "xrefs": ["<???> @ 0x140754f38", "<???> @ 0x14091b344"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}