{"type": "func", "start": 4297469280, "end": 4297469404, "name": "GameObject::isConfigurablePortal", "pseudocode": "// \n// GameObject::isConfigurablePortal from 0x100262d60 to 0x100262ddc (124 bytes)\n// \n// 1 xrefs:\n// > EditorUI::editObject @ 0x1003e5578\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\nbool __fastcall GameObject::isConfigurablePortal(GameObject *a1)\n{\n  int m_objectID; // w8\n  bool result; // w0\n  bool v3; // zf\n\n  m_objectID = a1->m_objectID;\n  result = 1;\n  if ( m_objectID <= 285 )\n  {\n    v3 = (unsigned int)m_objectID > 0x2F || ((1LL << m_objectID) & 0x800000003000LL) == 0;\n    if ( v3 && m_objectID != 111 )\n      return 0;\n  }\n  else if ( m_objectID > 744 )\n  {\n    if ( m_objectID != 745 && m_objectID != 1331 && m_objectID != 1933 )\n      return 0;\n  }\n  else if ( (unsigned int)(m_objectID - 286) >= 2 && m_objectID != 660 )\n  {\n    return 0;\n  }\n  return result;\n}", "assembly": "; \n; GameObject::isConfigurablePortal from 0x100262d60 to 0x100262ddc (124 bytes)\n; \n; 1 xrefs:\n; > EditorUI::editObject @ 0x1003e5578\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\nLDR             W8, [X0,#0x404]                                        ; +0x0, 0x100262d60\nMOV             W0, #1                                                 ; +0x4, 0x100262d64\nCMP             W8, #0x11D                                             ; +0x8, 0x100262d68\nB.LE            loc_100262D88                                          ; +0xc, 0x100262d6c\nCMP             W8, #0x2E8                                             ; +0x10, 0x100262d70\nB.GT            loc_100262DB0                                          ; +0x14, 0x100262d74\nSUB             W9, W8, #0x11E                                         ; +0x18, 0x100262d78\nCMP             W9, #2                                                 ; +0x1c, 0x100262d7c\nB.CS            loc_100262DCC                                          ; +0x20, 0x100262d80\nRET                                                                    ; +0x24, 0x100262d84\nCMP             W8, #0x2F ; '/'                                        ; +0x28, 0x100262d88\nMOV             W9, #1                                                 ; +0x2c, 0x100262d8c\nLSL             X9, X9, X8                                             ; +0x30, 0x100262d90\nAND             X9, X9, #0xFFFFFFFFF000                                ; +0x34, 0x100262d94\nAND             X9, X9, #0xFFFF800000003FFF                            ; +0x38, 0x100262d98\nCCMP            X9, #0, #4, LS                                         ; +0x3c, 0x100262d9c\nB.NE            locret_100262D84                                       ; +0x40, 0x100262da0\nCMP             W8, #0x6F ; 'o'                                        ; +0x44, 0x100262da4\nB.EQ            locret_100262D84                                       ; +0x48, 0x100262da8\nB               loc_100262DD4                                          ; +0x4c, 0x100262dac\nCMP             W8, #0x2E9                                             ; +0x50, 0x100262db0\nB.EQ            locret_100262D84                                       ; +0x54, 0x100262db4\nCMP             W8, #0x533                                             ; +0x58, 0x100262db8\nB.EQ            locret_100262D84                                       ; +0x5c, 0x100262dbc\nCMP             W8, #0x78D                                             ; +0x60, 0x100262dc0\nB.EQ            locret_100262D84                                       ; +0x64, 0x100262dc4\nB               loc_100262DD4                                          ; +0x68, 0x100262dc8\nCMP             W8, #0x294                                             ; +0x6c, 0x100262dcc\nB.EQ            locret_100262D84                                       ; +0x70, 0x100262dd0\nMOV             W0, #0                                                 ; +0x74, 0x100262dd4\nRET                                                                    ; +0x78, 0x100262dd8", "xrefs": ["EditorUI::editObject @ 0x1003e5578"], "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"}