{"type": "func", "start": 5369925728, "end": 5369925975, "name": "EditorUI::isSpecialSnapObject", "pseudocode": "// \n// EditorUI::isSpecialSnapObject from 0x140129060 to 0x140129157 (247 bytes)\n// \n// 3 xrefs:\n// > EditorUI::transformObjectCall_1 @ 0x1401206bb\n// > EditorUI::transformObject @ 0x140120760\n// > EditorUI::applySpecialOffset @ 0x140122680\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 EditorUI::isSpecialSnapObject(EditorUI *a1, int a2)\n{\n  int v2; // edx\n\n  if ( a2 > 493 )\n  {\n    if ( a2 > 1015 )\n    {\n      if ( a2 > 1339 )\n      {\n        if ( a2 > 1718 )\n        {\n          switch ( a2 )\n          {\n            case 1724:\n            case 1744:\n            case 1746:\n            case 1748:\n            case 1750:\n            case 1759:\n            case 1761:\n            case 1763:\n            case 1773:\n            case 1774:\n            case 1775:\n            case 1776:\n            case 1785:\n            case 1786:\n            case 1787:\n            case 1788:\n            case 1789:\n            case 1790:\n            case 1791:\n            case 1792:\n            case 1794:\n            case 1796:\n            case 1800:\n            case 1802:\n            case 1804:\n            case 1806:\n            case 1808:\n            case 1810:\n            case 1900:\n            case 1907:\n              return 1;\n            default:\n              return 0;\n          }\n        }\n        if ( a2 != 1718 )\n        {\n          v2 = a2 - 1342;\n          if ( v2 )\n          {\n            if ( v2 != 3 )\n              return 0;\n          }\n        }\n      }\n      else if ( a2 != 1339 )\n      {\n        switch ( a2 )\n        {\n          case 1054:\n          case 1079:\n          case 1080:\n          case 1081:\n          case 1092:\n          case 1096:\n          case 1097:\n          case 1098:\n          case 1108:\n          case 1111:\n          case 1188:\n          case 1199:\n            return 1;\n          default:\n            return 0;\n        }\n      }\n    }\n    else if ( a2 != 1015 )\n    {\n      switch ( a2 )\n      {\n        case 652:\n        case 655:\n        case 656:\n        case 662:\n        case 663:\n        case 664:\n        case 666:\n        case 674:\n        case 682:\n        case 684:\n        case 686:\n        case 688:\n        case 690:\n        case 692:\n        case 694:\n        case 696:\n        case 698:\n        case 700:\n        case 702:\n        case 704:\n        case 706:\n        case 708:\n        case 710:\n        case 712:\n        case 714:\n        case 716:\n        case 727:\n        case 729:\n        case 731:\n        case 733:\n        case 828:\n        case 829:\n        case 873:\n        case 878:\n        case 889:\n        case 891:\n          return 1;\n        default:\n          return 0;\n      }\n    }\n  }\n  else if ( a2 != 493 )\n  {\n    switch ( a2 )\n    {\n      case 234:\n      case 245:\n      case 277:\n      case 291:\n      case 295:\n      case 301:\n      case 307:\n      case 311:\n      case 317:\n      case 323:\n      case 327:\n      case 329:\n      case 333:\n      case 339:\n      case 345:\n      case 351:\n      case 355:\n      case 364:\n      case 367:\n      case 372:\n      case 484:\n        return 1;\n      default:\n        return 0;\n    }\n  }\n  return 1;\n}", "assembly": "; \n; EditorUI::isSpecialSnapObject from 0x140129060 to 0x140129157 (247 bytes)\n; \n; 3 xrefs:\n; > EditorUI::transformObjectCall_1 @ 0x1401206bb\n; > EditorUI::transformObject @ 0x140120760\n; > EditorUI::applySpecialOffset @ 0x140122680\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\ncmp     edx, 1EDh                                                      ; +0x0, 0x140129060\njg      short loc_14012909E                                            ; +0x6, 0x140129066\njz      loc_140129154; jumptable 000000014012909C cases 234,245,277,291,295,301,307,311,317,323,327,329,333,339,345,351,355,364,367,372,484 ; +0x8, 0x140129068\nadd     edx, 0FFFFFF16h; switch 251 cases                              ; +0xe, 0x14012906e\ncmp     edx, 0FAh                                                      ; +0x14, 0x140129074\nja      def_14012909C; jumptable 000000014012909C default case, cases 235-244,246-276,278-290,292-294,296-300,302-306,308-310,312-316,318-322,324-326,328,330-332,334-338,340-344,346-350,352-354,356-363,365,366,368-371,373-483 ; +0x1a, 0x14012907a\nmovsxd  rax, edx                                                       ; +0x20, 0x140129080\nlea     rdx, cs:140000000h                                             ; +0x23, 0x140129083\nmovzx   eax, ds:(byte_140129160 - 140000000h)[rdx+rax]                 ; +0x2a, 0x14012908a\nmov     ecx, ds:(jpt_14012909C - 140000000h)[rdx+rax*4]                ; +0x32, 0x140129092\nadd     rcx, rdx                                                       ; +0x39, 0x140129099\njmp     rcx; switch jump                                               ; +0x3c, 0x14012909c\ncmp     edx, 3F7h                                                      ; +0x3e, 0x14012909e\njg      short loc_1401290D8                                            ; +0x44, 0x1401290a4\njz      loc_140129154; jumptable 000000014012909C cases 234,245,277,291,295,301,307,311,317,323,327,329,333,339,345,351,355,364,367,372,484 ; +0x46, 0x1401290a6\nadd     edx, 0FFFFFD74h; switch 240 cases                              ; +0x4c, 0x1401290ac\ncmp     edx, 0EFh                                                      ; +0x52, 0x1401290b2\nja      short def_14012909C; jumptable 000000014012909C default case, cases 235-244,246-276,278-290,292-294,296-300,302-306,308-310,312-316,318-322,324-326,328,330-332,334-338,340-344,346-350,352-354,356-363,365,366,368-371,373-483 ; +0x58, 0x1401290b8\nmovsxd  rax, edx                                                       ; +0x5a, 0x1401290ba\nlea     rdx, cs:140000000h                                             ; +0x5d, 0x1401290bd\nmovzx   eax, ds:(byte_140129264 - 140000000h)[rdx+rax]                 ; +0x64, 0x1401290c4\nmov     ecx, ds:(jpt_1401290D6 - 140000000h)[rdx+rax*4]                ; +0x6c, 0x1401290cc\nadd     rcx, rdx                                                       ; +0x73, 0x1401290d3\njmp     rcx; switch jump                                               ; +0x76, 0x1401290d6\ncmp     edx, 53Bh                                                      ; +0x78, 0x1401290d8\njg      short loc_14012910E                                            ; +0x7e, 0x1401290de\njz      short loc_140129154; jumptable 000000014012909C cases 234,245,277,291,295,301,307,311,317,323,327,329,333,339,345,351,355,364,367,372,484 ; +0x80, 0x1401290e0\nadd     edx, 0FFFFFBE2h; switch 146 cases                              ; +0x82, 0x1401290e2\ncmp     edx, 91h                                                       ; +0x88, 0x1401290e8\nja      short def_14012909C; jumptable 000000014012909C default case, cases 235-244,246-276,278-290,292-294,296-300,302-306,308-310,312-316,318-322,324-326,328,330-332,334-338,340-344,346-350,352-354,356-363,365,366,368-371,373-483 ; +0x8e, 0x1401290ee\nmovsxd  rax, edx                                                       ; +0x90, 0x1401290f0\nlea     rdx, cs:140000000h                                             ; +0x93, 0x1401290f3\nmovzx   eax, ds:(byte_14012935C - 140000000h)[rdx+rax]                 ; +0x9a, 0x1401290fa\nmov     ecx, ds:(jpt_14012910C - 140000000h)[rdx+rax*4]                ; +0xa2, 0x140129102\nadd     rcx, rdx                                                       ; +0xa9, 0x140129109\njmp     rcx; switch jump                                               ; +0xac, 0x14012910c\ncmp     edx, 6B6h                                                      ; +0xae, 0x14012910e\njg      short loc_140129128                                            ; +0xb4, 0x140129114\njz      short loc_140129154; jumptable 000000014012909C cases 234,245,277,291,295,301,307,311,317,323,327,329,333,339,345,351,355,364,367,372,484 ; +0xb6, 0x140129116\nsub     edx, 53Eh                                                      ; +0xb8, 0x140129118\njz      short loc_140129154; jumptable 000000014012909C cases 234,245,277,291,295,301,307,311,317,323,327,329,333,339,345,351,355,364,367,372,484 ; +0xbe, 0x14012911e\ncmp     edx, 3                                                         ; +0xc0, 0x140129120\njz      short loc_140129154; jumptable 000000014012909C cases 234,245,277,291,295,301,307,311,317,323,327,329,333,339,345,351,355,364,367,372,484 ; +0xc3, 0x140129123\nxor     al, al; jumptable 000000014012909C default case, cases 235-244,246-276,278-290,292-294,296-300,302-306,308-310,312-316,318-322,324-326,328,330-332,334-338,340-344,346-350,352-354,356-363,365,366,368-371,373-483 ; +0xc5, 0x140129125\nretn                                                                   ; +0xc7, 0x140129127\nadd     edx, 0FFFFF944h; switch 184 cases                              ; +0xc8, 0x140129128\ncmp     edx, 0B7h                                                      ; +0xce, 0x14012912e\nja      short def_14012909C; jumptable 000000014012909C default case, cases 235-244,246-276,278-290,292-294,296-300,302-306,308-310,312-316,318-322,324-326,328,330-332,334-338,340-344,346-350,352-354,356-363,365,366,368-371,373-483 ; +0xd4, 0x140129134\nmovsxd  rax, edx                                                       ; +0xd6, 0x140129136\nlea     rdx, cs:140000000h                                             ; +0xd9, 0x140129139\nmovzx   eax, ds:(byte_1401293F8 - 140000000h)[rdx+rax]                 ; +0xe0, 0x140129140\nmov     ecx, ds:(jpt_140129152 - 140000000h)[rdx+rax*4]                ; +0xe8, 0x140129148\nadd     rcx, rdx                                                       ; +0xef, 0x14012914f\njmp     rcx; switch jump                                               ; +0xf2, 0x140129152\nmov     al, 1; jumptable 000000014012909C cases 234,245,277,291,295,301,307,311,317,323,327,329,333,339,345,351,355,364,367,372,484 ; +0xf4, 0x140129154\nretn                                                                   ; +0xf6, 0x140129156", "xrefs": ["EditorUI::transformObjectCall_1 @ 0x1401206bb", "EditorUI::transformObject @ 0x140120760", "EditorUI::applySpecialOffset @ 0x140122680"], "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"}