{"type": "func", "start": 4299156580, "end": 4299156680, "name": "EndPortalObject::setVisible", "pseudocode": "// \n// EndPortalObject::setVisible from 0x1003fec64 to 0x1003fecc8 (100 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100816070\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 __fastcall EndPortalObject::setVisible(EndPortalObject *a1, bool a2)\n{\n  _BOOL4 v2; // w21\n  char v4; // w20\n\n  v2 = a2;\n  v4 = ((__int64 (__fastcall *)(EndPortalObject *))a1->isVisible)(a1);\n  GameObject::setVisible(a1, v2);\n  if ( v2 && (v4 & 1) == 0 )\n    EndPortalObject::updateEndPos(a1, 1);\n}", "assembly": "; \n; EndPortalObject::setVisible from 0x1003fec64 to 0x1003fecc8 (100 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100816070\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\nSTP             X22, X21, [SP,#-0x10+var_20]!                          ; +0x0, 0x1003fec64\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x1003fec68\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x1003fec6c\nADD             X29, SP, #0x20                                         ; +0xc, 0x1003fec70\nMOV             X21, X1                                                ; +0x10, 0x1003fec74\nMOV             X19, X0                                                ; +0x14, 0x1003fec78\nLDR             X8, [X0]                                               ; +0x18, 0x1003fec7c\nLDR             X8, [X8,#0x150]                                        ; +0x1c, 0x1003fec80\nBLR             X8                                                     ; +0x20, 0x1003fec84\nMOV             X20, X0                                                ; +0x24, 0x1003fec88\nMOV             X0, X19                                                ; +0x28, 0x1003fec8c\nMOV             X1, X21                                                ; +0x2c, 0x1003fec90\nBL              GameObject__setVisible                                 ; +0x30, 0x1003fec94\nCBZ             W21, loc_1003FECB8                                     ; +0x34, 0x1003fec98\nTBNZ            W20, #0, loc_1003FECB8                                 ; +0x38, 0x1003fec9c\nMOV             X0, X19                                                ; +0x3c, 0x1003feca0\nMOV             W1, #1                                                 ; +0x40, 0x1003feca4\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x44, 0x1003feca8\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x48, 0x1003fecac\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x4c, 0x1003fecb0\nB               EndPortalObject__updateEndPos                          ; +0x50, 0x1003fecb4\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x54, 0x1003fecb8\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x58, 0x1003fecbc\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x5c, 0x1003fecc0\nRET                                                                    ; +0x60, 0x1003fecc4", "xrefs": ["<???> @ 0x100816070"], "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"}