{"type": "func", "start": 5276164, "end": 5276206, "name": "EndPortalObject::setVisible", "pseudocode": "// \n// EndPortalObject::setVisible from 0x508204 to 0x50822e (42 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:51:25 +0000\n// \n\nint __fastcall EndPortalObject::setVisible(EndPortalObject *this, int a2)\n{\n  int v4; // r6\n  int result; // r0\n\n  v4 = (*(int (__fastcall **)(EndPortalObject *))(*(_DWORD *)this + 176))(this);\n  result = GameObject::setVisible(this, a2);\n  if ( a2 )\n  {\n    if ( !v4 )\n      return EndPortalObject::updateEndPos(this, 1);\n  }\n  return result;\n}", "assembly": "; \n; EndPortalObject::setVisible from 0x508204 to 0x50822e (42 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:51:25 +0000\n; \nPUSH            {R4-R6,LR}                                             ; +0x0, 0x508204\nMOV             R5, R1                                                 ; +0x2, 0x508206\nLDR             R3, [R0]                                               ; +0x4, 0x508208\nMOV             R4, R0                                                 ; +0x6, 0x50820a\nLDR.W           R3, [R3,#0xB0]                                         ; +0x8, 0x50820c\nBLX             R3                                                     ; +0xc, 0x508210\nMOV             R1, R5; bool                                           ; +0xe, 0x508212\nMOV             R6, R0                                                 ; +0x10, 0x508214\nMOV             R0, R4; this                                           ; +0x12, 0x508216\nBL              _ZN10GameObject10setVisibleEb; GameObject::setVisible(bool) ; +0x14, 0x508218\nCBZ             R5, locret_50822C                                      ; +0x18, 0x50821c\nCBNZ            R6, locret_50822C                                      ; +0x1a, 0x50821e\nMOV             R0, R4; this                                           ; +0x1c, 0x508220\nMOVS            R1, #1; bool                                           ; +0x1e, 0x508222\nPOP.W           {R4-R6,LR}                                             ; +0x20, 0x508224\nB.W             _ZN15EndPortalObject12updateEndPosEb; EndPortalObject::updateEndPos(bool) ; +0x24, 0x508228\nPOP             {R4-R6,PC}                                             ; +0x28, 0x50822c", "xrefs": [], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}