{"type": "func", "start": 4299683296, "end": 4299683396, "name": "EndPortalObject::setVisible", "pseudocode": "// \n// EndPortalObject::setVisible from 0x10047f5e0 to 0x10047f644 (100 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x10096de40\n// \n// This function is hookable on this platform (idp: arm, 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:05:45 +0000\n// \n\n__int64 __fastcall EndPortalObject::setVisible(__int64 a1, __int64 a2)\n{\n  char v4; // w20\n  __int64 result; // x0\n\n  v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 352LL))(a1);\n  result = GameObject::setVisible(a1, a2);\n  if ( (_DWORD)a2 )\n  {\n    if ( (v4 & 1) == 0 )\n      return EndPortalObject::updateEndPos(a1, 1);\n  }\n  return result;\n}", "assembly": "; \n; EndPortalObject::setVisible from 0x10047f5e0 to 0x10047f644 (100 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x10096de40\n; \n; This function is hookable on this platform (idp: arm, 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:05:45 +0000\n; \nSTP             X22, X21, [SP,#-0x10+var_20]!                          ; +0x0, 0x10047f5e0\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x10047f5e4\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x10047f5e8\nADD             X29, SP, #0x20                                         ; +0xc, 0x10047f5ec\nMOV             X21, X1                                                ; +0x10, 0x10047f5f0\nMOV             X19, X0                                                ; +0x14, 0x10047f5f4\nLDR             X8, [X0]                                               ; +0x18, 0x10047f5f8\nLDR             X8, [X8,#0x160]                                        ; +0x1c, 0x10047f5fc\nBLR             X8                                                     ; +0x20, 0x10047f600\nMOV             X20, X0                                                ; +0x24, 0x10047f604\nMOV             X0, X19                                                ; +0x28, 0x10047f608\nMOV             X1, X21                                                ; +0x2c, 0x10047f60c\nBL              GameObject__setVisible                                 ; +0x30, 0x10047f610\nCBZ             W21, loc_10047F634                                     ; +0x34, 0x10047f614\nTBNZ            W20, #0, loc_10047F634                                 ; +0x38, 0x10047f618\nMOV             X0, X19                                                ; +0x3c, 0x10047f61c\nMOV             W1, #1                                                 ; +0x40, 0x10047f620\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x44, 0x10047f624\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x48, 0x10047f628\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x4c, 0x10047f62c\nB               EndPortalObject__updateEndPos                          ; +0x50, 0x10047f630\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x54, 0x10047f634\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x58, 0x10047f638\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x5c, 0x10047f63c\nRET                                                                    ; +0x60, 0x10047f640", "xrefs": ["<???> @ 0x10096de40"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}