{"type": "func", "start": 4298662800, "end": 4298662883, "name": "EndPortalObject::setVisible", "pseudocode": "// \n// EndPortalObject::setVisible from 0x100386390 to 0x1003863e3 (83 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100b2b9a0\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 12:29:10 +0000\n// \n\n__int64 __fastcall EndPortalObject::setVisible(__int64 a1, unsigned int a2)\n{\n  char v2; // r14\n  __int64 result; // rax\n\n  v2 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 352LL))(a1);\n  result = GameObject::setVisible(a1, a2);\n  if ( a2 )\n  {\n    if ( !v2 )\n      return EndPortalObject::updateEndPos(a1, 1);\n  }\n  return result;\n}", "assembly": "; \n; EndPortalObject::setVisible from 0x100386390 to 0x1003863e3 (83 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100b2b9a0\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 12:29:10 +0000\n; \npush    rbp                                                            ; +0x0, 0x100386390\nmov     rbp, rsp                                                       ; +0x1, 0x100386391\npush    r15                                                            ; +0x4, 0x100386394\npush    r14                                                            ; +0x6, 0x100386396\npush    rbx                                                            ; +0x8, 0x100386398\npush    rax                                                            ; +0x9, 0x100386399\nmov     r15d, esi                                                      ; +0xa, 0x10038639a\nmov     rbx, rdi                                                       ; +0xd, 0x10038639d\nmov     rax, [rdi]                                                     ; +0x10, 0x1003863a0\ncall    qword ptr [rax+160h]                                           ; +0x13, 0x1003863a3\nmov     r14d, eax                                                      ; +0x19, 0x1003863a9\nmov     rdi, rbx                                                       ; +0x1c, 0x1003863ac\nmov     esi, r15d                                                      ; +0x1f, 0x1003863af\ncall    GameObject__setVisible                                         ; +0x22, 0x1003863b2\ntest    r15d, r15d                                                     ; +0x27, 0x1003863b7\njz      short loc_1003863D8                                            ; +0x2a, 0x1003863ba\ntest    r14b, r14b                                                     ; +0x2c, 0x1003863bc\njnz     short loc_1003863D8                                            ; +0x2f, 0x1003863bf\nmov     rdi, rbx                                                       ; +0x31, 0x1003863c1\nmov     esi, 1                                                         ; +0x34, 0x1003863c4\nadd     rsp, 8                                                         ; +0x39, 0x1003863c9\npop     rbx                                                            ; +0x3d, 0x1003863cd\npop     r14                                                            ; +0x3e, 0x1003863ce\npop     r15                                                            ; +0x40, 0x1003863d0\npop     rbp                                                            ; +0x42, 0x1003863d2\njmp     EndPortalObject__updateEndPos                                  ; +0x43, 0x1003863d3\nadd     rsp, 8                                                         ; +0x48, 0x1003863d8\npop     rbx                                                            ; +0x4c, 0x1003863dc\npop     r14                                                            ; +0x4d, 0x1003863dd\npop     r15                                                            ; +0x4f, 0x1003863df\npop     rbp                                                            ; +0x51, 0x1003863e1\nretn                                                                   ; +0x52, 0x1003863e2", "xrefs": ["<???> @ 0x100b2b9a0"], "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"}