{"type": "func", "start": 4301902784, "end": 4301902893, "name": "GameObject::isConfigurablePortal", "pseudocode": "// \n// GameObject::isConfigurablePortal from 0x10069d3c0 to 0x10069d42d (109 bytes)\n// \n// 1 xrefs:\n// > EditorUI::editObject @ 0x10000a314\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:35:16 +0000\n// \n\nchar __fastcall GameObject::isConfigurablePortal(__int64 a1)\n{\n  int v1; // ecx\n  char result; // al\n  __int64 v3; // rsi\n\n  v1 = *(_DWORD *)(a1 + 1028);\n  result = 1;\n  if ( v1 <= 285 )\n  {\n    if ( (unsigned int)v1 > 0x2F || (v3 = 0x800000003000LL, !_bittest64(&v3, (unsigned int)v1)) )\n    {\n      if ( v1 != 111 )\n        return 0;\n    }\n  }\n  else if ( v1 > 744 )\n  {\n    if ( v1 != 745 && v1 != 1331 && v1 != 1933 )\n      return 0;\n  }\n  else if ( (unsigned int)(v1 - 286) >= 2 && v1 != 660 )\n  {\n    return 0;\n  }\n  return result;\n}", "assembly": "; \n; GameObject::isConfigurablePortal from 0x10069d3c0 to 0x10069d42d (109 bytes)\n; \n; 1 xrefs:\n; > EditorUI::editObject @ 0x10000a314\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:35:16 +0000\n; \npush    rbp                                                            ; +0x0, 0x10069d3c0\nmov     rbp, rsp                                                       ; +0x1, 0x10069d3c1\nmov     ecx, [rdi+404h]                                                ; +0x4, 0x10069d3c4\nmov     al, 1                                                          ; +0xa, 0x10069d3ca\ncmp     ecx, 11Dh                                                      ; +0xc, 0x10069d3cc\njle     short loc_10069D3E9                                            ; +0x12, 0x10069d3d2\ncmp     ecx, 2E8h                                                      ; +0x14, 0x10069d3d4\njg      short loc_10069D407                                            ; +0x1a, 0x10069d3da\nlea     edx, [rcx-11Eh]                                                ; +0x1c, 0x10069d3dc\ncmp     edx, 2                                                         ; +0x22, 0x10069d3e2\njnb     short loc_10069D421                                            ; +0x25, 0x10069d3e5\npop     rbp                                                            ; +0x27, 0x10069d3e7\nretn                                                                   ; +0x28, 0x10069d3e8\ncmp     ecx, 2Fh ; '/'                                                 ; +0x29, 0x10069d3e9\nja      short loc_10069D400                                            ; +0x2c, 0x10069d3ec\nmov     edx, ecx                                                       ; +0x2e, 0x10069d3ee\nmov     rsi, 800000003000h                                             ; +0x30, 0x10069d3f0\nbt      rsi, rdx                                                       ; +0x3a, 0x10069d3fa\njb      short loc_10069D3E7                                            ; +0x3e, 0x10069d3fe\ncmp     ecx, 6Fh ; 'o'                                                 ; +0x40, 0x10069d400\njz      short loc_10069D3E7                                            ; +0x43, 0x10069d403\njmp     short loc_10069D429                                            ; +0x45, 0x10069d405\ncmp     ecx, 2E9h                                                      ; +0x47, 0x10069d407\njz      short loc_10069D3E7                                            ; +0x4d, 0x10069d40d\ncmp     ecx, 533h                                                      ; +0x4f, 0x10069d40f\njz      short loc_10069D3E7                                            ; +0x55, 0x10069d415\ncmp     ecx, 78Dh                                                      ; +0x57, 0x10069d417\njz      short loc_10069D3E7                                            ; +0x5d, 0x10069d41d\njmp     short loc_10069D429                                            ; +0x5f, 0x10069d41f\ncmp     ecx, 294h                                                      ; +0x61, 0x10069d421\njz      short loc_10069D3E7                                            ; +0x67, 0x10069d427\nxor     eax, eax                                                       ; +0x69, 0x10069d429\npop     rbp                                                            ; +0x6b, 0x10069d42b\nretn                                                                   ; +0x6c, 0x10069d42c", "xrefs": ["EditorUI::editObject @ 0x10000a314"], "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"}