{"type": "func", "start": 5371461792, "end": 5371462196, "name": "GameObject::ignoreEditorDuration", "pseudocode": "// \n// GameObject::ignoreEditorDuration from 0x1402a00a0 to 0x1402a0234 (404 bytes)\n// \n// 1 xrefs:\n// > GameObject::customSetup @ 0x1402916e1\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 11:29:15 +0000\n// \n\nchar __fastcall GameObject::ignoreEditorDuration(__int64 a1)\n{\n  int v1; // ecx\n  int v2; // ecx\n  int v3; // ecx\n  int v5; // ecx\n  int v6; // ecx\n\n  if ( *(_DWORD *)(a1 + 928) != 30 )\n  {\n    v1 = *(_DWORD *)(a1 + 1036);\n    if ( v1 <= 286 )\n    {\n      if ( v1 != 286 )\n      {\n        switch ( v1 )\n        {\n          case 10:\n          case 11:\n          case 12:\n          case 13:\n          case 22:\n          case 23:\n          case 24:\n          case 25:\n          case 26:\n          case 27:\n          case 28:\n          case 31:\n          case 32:\n          case 33:\n          case 35:\n          case 36:\n          case 45:\n          case 46:\n          case 47:\n          case 55:\n          case 56:\n          case 57:\n          case 58:\n          case 59:\n          case 67:\n          case 84:\n          case 99:\n          case 101:\n          case 111:\n          case 140:\n          case 141:\n          case 142:\n          case 200:\n          case 201:\n          case 202:\n          case 203:\n            return 1;\n          default:\n            return 0;\n        }\n      }\n      return 1;\n    }\n    if ( v1 > 2866 )\n    {\n      if ( v1 > 3600 )\n      {\n        switch ( v1 )\n        {\n          case 3604:\n          case 3606:\n          case 3607:\n          case 3608:\n          case 3609:\n          case 3612:\n          case 3613:\n          case 3614:\n          case 3615:\n          case 3617:\n          case 3618:\n          case 3619:\n          case 3620:\n          case 3640:\n          case 3641:\n          case 3642:\n          case 3643:\n          case 3645:\n          case 3655:\n          case 3660:\n          case 3661:\n          case 3662:\n          case 3663:\n            return 1;\n          default:\n            return 0;\n        }\n      }\n      if ( v1 != 3600 )\n      {\n        switch ( v1 )\n        {\n          case 2899:\n          case 2900:\n          case 2902:\n          case 2903:\n          case 2904:\n          case 2905:\n          case 2907:\n          case 2925:\n          case 2926:\n          case 3004:\n          case 3005:\n          case 3006:\n          case 3007:\n          case 3008:\n          case 3009:\n          case 3010:\n          case 3016:\n          case 3017:\n          case 3018:\n          case 3019:\n          case 3020:\n          case 3021:\n          case 3022:\n          case 3023:\n          case 3024:\n          case 3027:\n          case 3029:\n          case 3030:\n          case 3031:\n          case 3032:\n          case 3033:\n            return 1;\n          default:\n            return 0;\n        }\n      }\n      return 1;\n    }\n    if ( v1 != 2866 )\n    {\n      if ( v1 > 1585 )\n      {\n        if ( v1 > 1859 )\n        {\n          switch ( v1 )\n          {\n            case 1912:\n            case 1915:\n            case 1917:\n            case 1931:\n            case 1932:\n            case 1933:\n            case 1934:\n            case 1935:\n            case 2016:\n            case 2062:\n            case 2063:\n            case 2064:\n            case 2066:\n            case 2068:\n            case 2069:\n              return 1;\n            default:\n              return 0;\n          }\n        }\n        if ( v1 != 1859 )\n        {\n          switch ( v1 )\n          {\n            case 1594:\n            case 1595:\n            case 1611:\n            case 1612:\n            case 1613:\n            case 1616:\n            case 1704:\n            case 1751:\n            case 1755:\n            case 1811:\n            case 1812:\n            case 1813:\n            case 1815:\n            case 1816:\n            case 1817:\n            case 1818:\n            case 1819:\n            case 1829:\n              return 1;\n            default:\n              return 0;\n          }\n        }\n        return 1;\n      }\n      if ( v1 != 1585 )\n      {\n        if ( v1 > 1268 )\n        {\n          switch ( v1 )\n          {\n            case 1329:\n            case 1330:\n            case 1331:\n            case 1332:\n            case 1333:\n            case 1334:\n              return 1;\n            default:\n              return 0;\n          }\n        }\n        if ( v1 != 1268 )\n        {\n          if ( v1 > 747 )\n          {\n            v5 = v1 - 749;\n            if ( v5 )\n            {\n              v6 = v5 - 273;\n              if ( v6 )\n              {\n                if ( v6 != 27 )\n                  return 0;\n              }\n            }\n          }\n          else if ( v1 != 747 )\n          {\n            v2 = v1 - 287;\n            if ( v2 )\n            {\n              v3 = v2 - 373;\n              if ( v3 )\n              {\n                if ( v3 != 85 )\n                  return 0;\n              }\n            }\n          }\n        }\n      }\n    }\n  }\n  return 1;\n}", "assembly": "; \n; GameObject::ignoreEditorDuration from 0x1402a00a0 to 0x1402a0234 (404 bytes)\n; \n; 1 xrefs:\n; > GameObject::customSetup @ 0x1402916e1\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 11:29:15 +0000\n; \ncmp     dword ptr [rcx+3A0h], 1Eh                                      ; +0x0, 0x1402a00a0\njz      loc_1402A0143; jumptable 00000001402A00E8 cases 10-13,22-28,31-33,35,36,45-47,55-59,67,84,99,101,111,140-142,200-203 ; +0x7, 0x1402a00a7\nmov     ecx, [rcx+40Ch]                                                ; +0xd, 0x1402a00ad\ncmp     ecx, 11Eh                                                      ; +0x13, 0x1402a00b3\njg      short loc_1402A00EA                                            ; +0x19, 0x1402a00b9\njz      loc_1402A0143; jumptable 00000001402A00E8 cases 10-13,22-28,31-33,35,36,45-47,55-59,67,84,99,101,111,140-142,200-203 ; +0x1b, 0x1402a00bb\nsub     ecx, 0Ah; switch 194 cases                                     ; +0x21, 0x1402a00c1\ncmp     ecx, 0C1h                                                      ; +0x24, 0x1402a00c4\nja      short def_1402A00E8; jumptable 00000001402A00E8 default case, cases 14-21,29,30,34,37-44,48-54,60-66,68-83,85-98,100,102-110,112-139,143-199 ; +0x2a, 0x1402a00ca\nmovsxd  rax, ecx                                                       ; +0x2c, 0x1402a00cc\nlea     rdx, cs:140000000h                                             ; +0x2f, 0x1402a00cf\nmovzx   eax, ds:(byte_1402A023C - 140000000h)[rdx+rax]                 ; +0x36, 0x1402a00d6\nmov     ecx, ds:(jpt_1402A00E8 - 140000000h)[rdx+rax*4]                ; +0x3e, 0x1402a00de\nadd     rcx, rdx                                                       ; +0x45, 0x1402a00e5\njmp     rcx; switch jump                                               ; +0x48, 0x1402a00e8\ncmp     ecx, 0B32h                                                     ; +0x4a, 0x1402a00ea\njg      loc_1402A01C9                                                  ; +0x50, 0x1402a00f0\njz      short loc_1402A0143; jumptable 00000001402A00E8 cases 10-13,22-28,31-33,35,36,45-47,55-59,67,84,99,101,111,140-142,200-203 ; +0x56, 0x1402a00f6\ncmp     ecx, 631h                                                      ; +0x58, 0x1402a00f8\njg      short loc_1402A0167                                            ; +0x5e, 0x1402a00fe\njz      short loc_1402A0143; jumptable 00000001402A00E8 cases 10-13,22-28,31-33,35,36,45-47,55-59,67,84,99,101,111,140-142,200-203 ; +0x60, 0x1402a0100\ncmp     ecx, 4F4h                                                      ; +0x62, 0x1402a0102\njg      short loc_1402A0146                                            ; +0x68, 0x1402a0108\njz      short loc_1402A0143; jumptable 00000001402A00E8 cases 10-13,22-28,31-33,35,36,45-47,55-59,67,84,99,101,111,140-142,200-203 ; +0x6a, 0x1402a010a\ncmp     ecx, 2EBh                                                      ; +0x6c, 0x1402a010c\njg      short loc_1402A012E                                            ; +0x72, 0x1402a0112\njz      short loc_1402A0143; jumptable 00000001402A00E8 cases 10-13,22-28,31-33,35,36,45-47,55-59,67,84,99,101,111,140-142,200-203 ; +0x74, 0x1402a0114\nsub     ecx, 11Fh                                                      ; +0x76, 0x1402a0116\njz      short loc_1402A0143; jumptable 00000001402A00E8 cases 10-13,22-28,31-33,35,36,45-47,55-59,67,84,99,101,111,140-142,200-203 ; +0x7c, 0x1402a011c\nsub     ecx, 175h                                                      ; +0x7e, 0x1402a011e\njz      short loc_1402A0143; jumptable 00000001402A00E8 cases 10-13,22-28,31-33,35,36,45-47,55-59,67,84,99,101,111,140-142,200-203 ; +0x84, 0x1402a0124\ncmp     ecx, 55h ; 'U'                                                 ; +0x86, 0x1402a0126\njz      short loc_1402A0143; jumptable 00000001402A00E8 cases 10-13,22-28,31-33,35,36,45-47,55-59,67,84,99,101,111,140-142,200-203 ; +0x89, 0x1402a0129\nxor     al, al; jumptable 00000001402A00E8 default case, cases 14-21,29,30,34,37-44,48-54,60-66,68-83,85-98,100,102-110,112-139,143-199 ; +0x8b, 0x1402a012b\nretn                                                                   ; +0x8d, 0x1402a012d\nsub     ecx, 2EDh                                                      ; +0x8e, 0x1402a012e\njz      short loc_1402A0143; jumptable 00000001402A00E8 cases 10-13,22-28,31-33,35,36,45-47,55-59,67,84,99,101,111,140-142,200-203 ; +0x94, 0x1402a0134\nsub     ecx, 111h                                                      ; +0x96, 0x1402a0136\njz      short loc_1402A0143; jumptable 00000001402A00E8 cases 10-13,22-28,31-33,35,36,45-47,55-59,67,84,99,101,111,140-142,200-203 ; +0x9c, 0x1402a013c\ncmp     ecx, 1Bh                                                       ; +0x9e, 0x1402a013e\njnz     short def_1402A00E8; jumptable 00000001402A00E8 default case, cases 14-21,29,30,34,37-44,48-54,60-66,68-83,85-98,100,102-110,112-139,143-199 ; +0xa1, 0x1402a0141\nmov     al, 1; jumptable 00000001402A00E8 cases 10-13,22-28,31-33,35,36,45-47,55-59,67,84,99,101,111,140-142,200-203 ; +0xa3, 0x1402a0143\nretn                                                                   ; +0xa5, 0x1402a0145\nsub     ecx, 531h; switch 6 cases                                      ; +0xa6, 0x1402a0146\ncmp     ecx, 5                                                         ; +0xac, 0x1402a014c\nja      short def_1402A00E8; jumptable 00000001402A00E8 default case, cases 14-21,29,30,34,37-44,48-54,60-66,68-83,85-98,100,102-110,112-139,143-199 ; +0xaf, 0x1402a014f\nlea     rdx, cs:140000000h                                             ; +0xb1, 0x1402a0151\nmovsxd  rax, ecx                                                       ; +0xb8, 0x1402a0158\nmov     eax, ds:(jpt_1402A0165 - 140000000h)[rdx+rax*4]                ; +0xbb, 0x1402a015b\nadd     rax, rdx                                                       ; +0xc2, 0x1402a0162\njmp     rax; switch jump                                               ; +0xc5, 0x1402a0165\ncmp     ecx, 743h                                                      ; +0xc7, 0x1402a0167\njg      short loc_1402A019D                                            ; +0xcd, 0x1402a016d\njz      short loc_1402A0143; jumptable 00000001402A00E8 cases 10-13,22-28,31-33,35,36,45-47,55-59,67,84,99,101,111,140-142,200-203 ; +0xcf, 0x1402a016f\nsub     ecx, 63Ah; switch 236 cases                                    ; +0xd1, 0x1402a0171\ncmp     ecx, 0EBh                                                      ; +0xd7, 0x1402a0177\nja      short def_1402A00E8; jumptable 00000001402A00E8 default case, cases 14-21,29,30,34,37-44,48-54,60-66,68-83,85-98,100,102-110,112-139,143-199 ; +0xdd, 0x1402a017d\nmovsxd  rax, ecx                                                       ; +0xdf, 0x1402a017f\nlea     rdx, cs:140000000h                                             ; +0xe2, 0x1402a0182\nmovzx   eax, ds:(byte_1402A0320 - 140000000h)[rdx+rax]                 ; +0xe9, 0x1402a0189\nmov     ecx, ds:(jpt_1402A019B - 140000000h)[rdx+rax*4]                ; +0xf1, 0x1402a0191\nadd     rcx, rdx                                                       ; +0xf8, 0x1402a0198\njmp     rcx; switch jump                                               ; +0xfb, 0x1402a019b\nsub     ecx, 778h; switch 158 cases                                    ; +0xfd, 0x1402a019d\ncmp     ecx, 9Dh                                                       ; +0x103, 0x1402a01a3\nja      short def_1402A00E8; jumptable 00000001402A00E8 default case, cases 14-21,29,30,34,37-44,48-54,60-66,68-83,85-98,100,102-110,112-139,143-199 ; +0x109, 0x1402a01a9\nmovsxd  rax, ecx                                                       ; +0x10b, 0x1402a01ab\nlea     rdx, cs:140000000h                                             ; +0x10e, 0x1402a01ae\nmovzx   eax, ds:(byte_1402A0414 - 140000000h)[rdx+rax]                 ; +0x115, 0x1402a01b5\nmov     ecx, ds:(jpt_1402A01C7 - 140000000h)[rdx+rax*4]                ; +0x11d, 0x1402a01bd\nadd     rcx, rdx                                                       ; +0x124, 0x1402a01c4\njmp     rcx; switch jump                                               ; +0x127, 0x1402a01c7\ncmp     ecx, 0E10h                                                     ; +0x129, 0x1402a01c9\njg      short loc_1402A0207                                            ; +0x12f, 0x1402a01cf\njz      loc_1402A0143; jumptable 00000001402A00E8 cases 10-13,22-28,31-33,35,36,45-47,55-59,67,84,99,101,111,140-142,200-203 ; +0x131, 0x1402a01d1\nsub     ecx, 0B53h; switch 135 cases                                   ; +0x137, 0x1402a01d7\ncmp     ecx, 86h                                                       ; +0x13d, 0x1402a01dd\nja      def_1402A00E8; jumptable 00000001402A00E8 default case, cases 14-21,29,30,34,37-44,48-54,60-66,68-83,85-98,100,102-110,112-139,143-199 ; +0x143, 0x1402a01e3\nmovsxd  rax, ecx                                                       ; +0x149, 0x1402a01e9\nlea     rdx, cs:140000000h                                             ; +0x14c, 0x1402a01ec\nmovzx   eax, ds:(byte_1402A04BC - 140000000h)[rdx+rax]                 ; +0x153, 0x1402a01f3\nmov     ecx, ds:(jpt_1402A0205 - 140000000h)[rdx+rax*4]                ; +0x15b, 0x1402a01fb\nadd     rcx, rdx                                                       ; +0x162, 0x1402a0202\njmp     rcx; switch jump                                               ; +0x165, 0x1402a0205\nsub     ecx, 0E14h; switch 60 cases                                    ; +0x167, 0x1402a0207\ncmp     ecx, 3Bh                                                       ; +0x16d, 0x1402a020d\nja      def_1402A00E8; jumptable 00000001402A00E8 default case, cases 14-21,29,30,34,37-44,48-54,60-66,68-83,85-98,100,102-110,112-139,143-199 ; +0x170, 0x1402a0210\nmovsxd  rax, ecx                                                       ; +0x176, 0x1402a0216\nlea     rdx, cs:140000000h                                             ; +0x179, 0x1402a0219\nmovzx   eax, ds:(byte_1402A054C - 140000000h)[rdx+rax]                 ; +0x180, 0x1402a0220\nmov     ecx, ds:(jpt_1402A0232 - 140000000h)[rdx+rax*4]                ; +0x188, 0x1402a0228\nadd     rcx, rdx                                                       ; +0x18f, 0x1402a022f\njmp     rcx; switch jump                                               ; +0x192, 0x1402a0232", "xrefs": ["GameObject::customSetup @ 0x1402916e1"], "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"}