{"type": "func", "start": 4295016672, "end": 4295017944, "name": "EditorUI::toggleSpecialEditButtons", "pseudocode": "// \n// EditorUI::toggleSpecialEditButtons from 0x10000c0e0 to 0x10000c5d8 (1272 bytes)\n// \n// 3 xrefs:\n// > EditorUI::toggleEnableRotate @ 0x100008110\n// > EditorUI::updateButtons @ 0x10000ae58\n// > EditorUI::activateTransformControl @ 0x10061194d\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:18:50 +0000\n// \n\n__int64 __fastcall EditorUI::toggleSpecialEditButtons(__int64 a1, char a2)\n{\n  unsigned int v3; // r14d\n  __int64 v4; // rax\n  char *v5; // r14\n  __int64 v6; // r13\n  __int64 v7; // rax\n  const char *CString; // r12\n  size_t v9; // rax\n  size_t v10; // r15\n  char *v11; // r13\n  size_t v12; // r14\n  __int64 v13; // r15\n  __int64 v14; // rax\n  __int64 v15; // r15\n  __int64 v16; // rax\n  const char *v17; // r13\n  size_t v18; // rax\n  size_t v19; // r12\n  size_t v20; // r15\n  char *v21; // r14\n  __int64 v22; // r15\n  __int64 v23; // rax\n  __int64 v24; // r15\n  __int64 v25; // rax\n  const char *v26; // r13\n  size_t v27; // rax\n  size_t v28; // r12\n  size_t v29; // r15\n  char *v30; // r14\n  __int64 v31; // r15\n  __int64 v32; // rax\n  __int64 v33; // r15\n  __int64 v34; // rax\n  const char *v35; // r13\n  size_t v36; // rax\n  size_t v37; // r12\n  size_t v38; // r14\n  size_t *p_dst; // rsi\n  __int64 v40; // rdi\n  __int64 v41; // rdx\n  __int64 v42; // r15\n  __int64 v43; // rax\n  __int64 v44; // rax\n  char v46; // [rsp+0h] [rbp-80h]\n  char v47; // [rsp+0h] [rbp-80h]\n  char v48; // [rsp+0h] [rbp-80h]\n  char v49; // [rsp+0h] [rbp-80h]\n  __int64 v51; // [rsp+18h] [rbp-68h]\n  __int64 v52; // [rsp+18h] [rbp-68h]\n  __int64 v53; // [rsp+20h] [rbp-60h]\n  __int64 *v54; // [rsp+28h] [rbp-58h]\n  char v55; // [rsp+34h] [rbp-4Ch]\n  size_t __dst; // [rsp+38h] [rbp-48h] BYREF\n  size_t v57; // [rsp+40h] [rbp-40h]\n  void *__p; // [rsp+48h] [rbp-38h]\n  unsigned int v59; // [rsp+54h] [rbp-2Ch]\n\n  if ( (unsigned int)sub_1007FEF90(*(_QWORD *)(a1 + 896)) )\n  {\n    if ( (unsigned int)sub_1007FEF90(*(_QWORD *)(a1 + 896)) )\n    {\n      v3 = 0;\n      do\n      {\n        v4 = sub_1007FEFE0(*(_QWORD *)(a1 + 896), v3);\n        if ( !(unsigned __int8)GameObject::canRotateFree(v4) )\n          goto LABEL_10;\n      }\n      while ( ++v3 < (unsigned int)sub_1007FEF90(*(_QWORD *)(a1 + 896)) );\n    }\n    v54 = (__int64 *)(a1 + 816);\n    v55 = 1;\n    v5 = (char *)&__dst + 1;\nLABEL_9:\n    v59 = 0xFFFFFF;\n    goto LABEL_11;\n  }\n  if ( *(_QWORD *)(a1 + 1496) )\n  {\n    v54 = (__int64 *)(a1 + 816);\n    v59 = 10921638;\n    v5 = (char *)&__dst + 1;\n    v55 = ((__int64 (*)(void))GameObject::canRotateFree)();\n    if ( (v55 & 1) == 0 )\n      goto LABEL_11;\n    goto LABEL_9;\n  }\nLABEL_10:\n  v54 = (__int64 *)(a1 + 816);\n  v59 = 10921638;\n  v5 = (char *)&__dst + 1;\n  v55 = 0;\nLABEL_11:\n  v6 = *v54;\n  v7 = sub_10088E820(\"%i\", v46);\n  CString = (const char *)cocos2d::CCString::getCString(v7);\n  v9 = strlen(CString);\n  if ( v9 >= 0xFFFFFFFFFFFFFFF8LL )\n    goto LABEL_66;\n  v10 = v9;\n  v53 = v6;\n  if ( v9 >= 0x17 )\n  {\n    v12 = 26;\n    if ( (v9 | 7) != 0x17 )\n      v12 = (v9 | 7) + 1;\n    v11 = (char *)operator new(v12);\n    __p = v11;\n    __dst = v12 + 1;\n    v5 = (char *)&__dst + 1;\n    v57 = v10;\n    goto LABEL_18;\n  }\n  LOBYTE(__dst) = 2 * v9;\n  v11 = (char *)&__dst + 1;\n  if ( v9 )\nLABEL_18:\n    memmove(v11, CString, v10);\n  v11[v10] = 0;\n  v13 = cocos2d::CCDictionary::objectForKey(v53, &__dst);\n  if ( (__dst & 1) != 0 )\n    operator delete(__p);\n  if ( v13 )\n  {\n    v14 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v13 + 1072LL))(v13);\n    ButtonSprite::setColor(v14, v59);\n    (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v13 + 1056LL))(v13, v55 & 1);\n  }\n  v15 = *v54;\n  v16 = sub_10088E820(\"%i\", v47);\n  v17 = (const char *)cocos2d::CCString::getCString(v16);\n  v18 = strlen(v17);\n  if ( v18 > 0xFFFFFFFFFFFFFFF7LL )\nLABEL_66:\n    sub_100003630();\n  v19 = v18;\n  if ( v18 >= 0x17 )\n  {\n    v51 = v15;\n    v20 = 26;\n    if ( (v18 | 7) != 0x17 )\n      v20 = (v18 | 7) + 1;\n    v5 = (char *)operator new(v20);\n    __p = v5;\n    __dst = v20 + 1;\n    v15 = v51;\n    v57 = v19;\n    goto LABEL_30;\n  }\n  LOBYTE(__dst) = 2 * v18;\n  if ( v18 )\nLABEL_30:\n    memmove(v5, v17, v19);\n  v5[v19] = 0;\n  v21 = (char *)&__dst + 1;\n  v22 = cocos2d::CCDictionary::objectForKey(v15, &__dst);\n  if ( (__dst & 1) != 0 )\n    operator delete(__p);\n  if ( v22 )\n  {\n    v23 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v22 + 1072LL))(v22);\n    ButtonSprite::setColor(v23, v59);\n    (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v22 + 1056LL))(v22, v55 & 1);\n  }\n  v24 = *v54;\n  v25 = sub_10088E820(\"%i\", v48);\n  v26 = (const char *)cocos2d::CCString::getCString(v25);\n  v27 = strlen(v26);\n  if ( v27 > 0xFFFFFFFFFFFFFFF7LL )\n    goto LABEL_66;\n  v28 = v27;\n  if ( v27 >= 0x17 )\n  {\n    v52 = v24;\n    v29 = 26;\n    if ( (v27 | 7) != 0x17 )\n      v29 = (v27 | 7) + 1;\n    v21 = (char *)operator new(v29);\n    __p = v21;\n    __dst = v29 + 1;\n    v24 = v52;\n    v57 = v28;\n    goto LABEL_42;\n  }\n  LOBYTE(__dst) = 2 * v27;\n  if ( v27 )\nLABEL_42:\n    memmove(v21, v26, v28);\n  v21[v28] = 0;\n  v30 = (char *)&__dst + 1;\n  v31 = cocos2d::CCDictionary::objectForKey(v24, &__dst);\n  if ( (__dst & 1) != 0 )\n    operator delete(__p);\n  if ( v31 )\n  {\n    v32 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v31 + 1072LL))(v31);\n    ButtonSprite::setColor(v32, v59);\n    (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v31 + 1056LL))(v31, v55 & 1);\n  }\n  v33 = *v54;\n  v34 = sub_10088E820(\"%i\", v49);\n  v35 = (const char *)cocos2d::CCString::getCString(v34);\n  v36 = strlen(v35);\n  if ( v36 > 0xFFFFFFFFFFFFFFF7LL )\n    goto LABEL_66;\n  v37 = v36;\n  if ( v36 >= 0x17 )\n  {\n    v38 = 26;\n    if ( (v36 | 7) != 0x17 )\n      v38 = (v36 | 7) + 1;\n    __p = operator new(v38);\n    __dst = v38 + 1;\n    v30 = (char *)__p;\n    v57 = v37;\n    goto LABEL_54;\n  }\n  LOBYTE(__dst) = 2 * v36;\n  if ( v36 )\nLABEL_54:\n    memmove(v30, v35, v37);\n  v30[v37] = 0;\n  p_dst = &__dst;\n  v40 = v33;\n  v42 = cocos2d::CCDictionary::objectForKey(v33, &__dst);\n  if ( (__dst & 1) != 0 )\n  {\n    v40 = (__int64)__p;\n    operator delete(__p);\n  }\n  if ( v42 )\n  {\n    v43 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v42 + 1072LL))(v42);\n    ButtonSprite::setColor(v43, v59);\n    v40 = v42;\n    p_dst = (size_t *)(v55 & 1);\n    (*(void (__fastcall **)(__int64, size_t *))(*(_QWORD *)v42 + 1056LL))(v42, p_dst);\n  }\n  if ( (v55 & 1) != 0 )\n  {\n    v44 = GameManager::sharedState(v40, p_dst, v41);\n    if ( (unsigned __int8)GameManager::getGameVariable(v44, \"0007\")\n      && (a2 || !(*(unsigned __int8 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 792) + 352LL))(*(_QWORD *)(a1 + 792))) )\n    {\n      EditorUI::activateRotationControl(a1, 0);\n    }\n  }\n  else\n  {\n    EditorUI::deactivateRotationControl(a1);\n  }\n  return EditorUI::updateGridNodeSize_1(a1);\n}", "assembly": "; \n; EditorUI::toggleSpecialEditButtons from 0x10000c0e0 to 0x10000c5d8 (1272 bytes)\n; \n; 3 xrefs:\n; > EditorUI::toggleEnableRotate @ 0x100008110\n; > EditorUI::updateButtons @ 0x10000ae58\n; > EditorUI::activateTransformControl @ 0x10061194d\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:18:50 +0000\n; \npush    rbp                                                            ; +0x0, 0x10000c0e0\nmov     rbp, rsp                                                       ; +0x1, 0x10000c0e1\npush    r15                                                            ; +0x4, 0x10000c0e4\npush    r14                                                            ; +0x6, 0x10000c0e6\npush    r13                                                            ; +0x8, 0x10000c0e8\npush    r12                                                            ; +0xa, 0x10000c0ea\npush    rbx                                                            ; +0xc, 0x10000c0ec\nsub     rsp, 58h                                                       ; +0xd, 0x10000c0ed\nmov     r15d, esi                                                      ; +0x11, 0x10000c0f1\nmov     rbx, rdi                                                       ; +0x14, 0x10000c0f4\nmov     rdi, [rdi+380h]                                                ; +0x17, 0x10000c0f7\ncall    sub_1007FEF90                                                  ; +0x1e, 0x10000c0fe\ntest    eax, eax                                                       ; +0x23, 0x10000c103\nmov     [rbp+var_74], r15d                                             ; +0x25, 0x10000c105\njz      short loc_10000C165                                            ; +0x29, 0x10000c109\nmov     rdi, [rbx+380h]                                                ; +0x2b, 0x10000c10b\ncall    sub_1007FEF90                                                  ; +0x32, 0x10000c112\ntest    eax, eax                                                       ; +0x37, 0x10000c117\njz      short loc_10000C14F                                            ; +0x39, 0x10000c119\nxor     r14d, r14d                                                     ; +0x3b, 0x10000c11b\nxchg    ax, ax                                                         ; +0x3e, 0x10000c11e\nmov     rdi, [rbx+380h]                                                ; +0x40, 0x10000c120\nmov     esi, r14d                                                      ; +0x47, 0x10000c127\ncall    sub_1007FEFE0                                                  ; +0x4a, 0x10000c12a\nmov     rdi, rax                                                       ; +0x4f, 0x10000c12f\ncall    GameObject__canRotateFree                                      ; +0x52, 0x10000c132\ntest    al, al                                                         ; +0x57, 0x10000c137\njz      short loc_10000C19C                                            ; +0x59, 0x10000c139\ninc     r14d                                                           ; +0x5b, 0x10000c13b\nmov     rdi, [rbx+380h]                                                ; +0x5e, 0x10000c13e\ncall    sub_1007FEF90                                                  ; +0x65, 0x10000c145\ncmp     r14d, eax                                                      ; +0x6a, 0x10000c14a\njb      short loc_10000C120                                            ; +0x6d, 0x10000c14d\nlea     rax, [rbx+330h]                                                ; +0x6f, 0x10000c14f\nmov     [rbp+var_58], rax                                              ; +0x76, 0x10000c156\nmov     al, 1                                                          ; +0x7a, 0x10000c15a\nmov     [rbp+var_4C], eax                                              ; +0x7c, 0x10000c15c\nlea     r14, [rbp+__dst+1]                                             ; +0x7f, 0x10000c15f\njmp     short loc_10000C193                                            ; +0x83, 0x10000c163\nmov     rdi, [rbx+5D8h]                                                ; +0x85, 0x10000c165\ntest    rdi, rdi                                                       ; +0x8c, 0x10000c16c\njz      short loc_10000C19C                                            ; +0x8f, 0x10000c16f\ncall    GameObject__canRotateFree                                      ; +0x91, 0x10000c171\nlea     rcx, [rbx+330h]                                                ; +0x96, 0x10000c176\nmov     [rbp+var_58], rcx                                              ; +0x9d, 0x10000c17d\nmov     [rbp+var_2C], 0A6A6A6h                                         ; +0xa1, 0x10000c181\nlea     r14, [rbp+__dst+1]                                             ; +0xa8, 0x10000c188\nmov     [rbp+var_4C], eax                                              ; +0xac, 0x10000c18c\ntest    al, 1                                                          ; +0xaf, 0x10000c18f\njz      short loc_10000C1B9                                            ; +0xb1, 0x10000c191\nmov     [rbp+var_2C], 0FFFFFFh                                         ; +0xb3, 0x10000c193\njmp     short loc_10000C1B9                                            ; +0xba, 0x10000c19a\nlea     rax, [rbx+330h]                                                ; +0xbc, 0x10000c19c\nmov     [rbp+var_58], rax                                              ; +0xc3, 0x10000c1a3\nmov     [rbp+var_2C], 0A6A6A6h                                         ; +0xc7, 0x10000c1a7\nlea     r14, [rbp+__dst+1]                                             ; +0xce, 0x10000c1ae\nmov     [rbp+var_4C], 0                                                ; +0xd2, 0x10000c1b2\nmov     rax, [rbp+var_58]                                              ; +0xd9, 0x10000c1b9\nmov     r13, [rax]                                                     ; +0xdd, 0x10000c1bd\nlea     rdi, aI_14; \"%i\"                                               ; +0xe0, 0x10000c1c0\nmov     esi, 2Bh ; '+'                                                 ; +0xe7, 0x10000c1c7\nxor     eax, eax                                                       ; +0xec, 0x10000c1cc\ncall    sub_10088E820                                                  ; +0xee, 0x10000c1ce\nmov     rdi, rax                                                       ; +0xf3, 0x10000c1d3\ncall    cocos2d__CCString__getCString                                  ; +0xf6, 0x10000c1d6\nmov     r12, rax                                                       ; +0xfb, 0x10000c1db\nmov     rdi, rax; __s                                                  ; +0xfe, 0x10000c1de\ncall    _strlen                                                        ; +0x101, 0x10000c1e1\ncmp     rax, 0FFFFFFFFFFFFFFF8h                                        ; +0x106, 0x10000c1e6\njnb     loc_10000C5D3                                                  ; +0x10a, 0x10000c1ea\nmov     r15, rax                                                       ; +0x110, 0x10000c1f0\nmov     [rbp+var_60], r13                                              ; +0x113, 0x10000c1f3\ncmp     rax, 17h                                                       ; +0x117, 0x10000c1f7\nmov     [rbp+var_70], r14                                              ; +0x11b, 0x10000c1fb\njnb     short loc_10000C212                                            ; +0x11f, 0x10000c1ff\nlea     eax, [r15+r15]                                                 ; +0x121, 0x10000c201\nmov     byte ptr [rbp+__dst], al                                       ; +0x125, 0x10000c205\nmov     r13, r14                                                       ; +0x128, 0x10000c208\ntest    r15, r15                                                       ; +0x12b, 0x10000c20b\njnz     short loc_10000C249                                            ; +0x12e, 0x10000c20e\njmp     short loc_10000C257                                            ; +0x130, 0x10000c210\nmov     rax, r15                                                       ; +0x132, 0x10000c212\nor      rax, 7                                                         ; +0x135, 0x10000c215\nlea     rcx, [rax+1]                                                   ; +0x139, 0x10000c219\ncmp     rax, 17h                                                       ; +0x13d, 0x10000c21d\nmov     r14d, 1Ah                                                      ; +0x141, 0x10000c221\ncmovnz  r14, rcx                                                       ; +0x147, 0x10000c227\nmov     rdi, r14; __sz                                                 ; +0x14b, 0x10000c22b\ncall    __Znwm; operator new(ulong)                                    ; +0x14e, 0x10000c22e\nmov     r13, rax                                                       ; +0x153, 0x10000c233\nmov     [rbp+__p], rax                                                 ; +0x156, 0x10000c236\ninc     r14                                                            ; +0x15a, 0x10000c23a\nmov     [rbp+__dst], r14                                               ; +0x15d, 0x10000c23d\nmov     r14, [rbp+var_70]                                              ; +0x161, 0x10000c241\nmov     [rbp+var_40], r15                                              ; +0x165, 0x10000c245\nmov     rdi, r13; __dst                                                ; +0x169, 0x10000c249\nmov     rsi, r12; __src                                                ; +0x16c, 0x10000c24c\nmov     rdx, r15; __len                                                ; +0x16f, 0x10000c24f\ncall    _memmove                                                       ; +0x172, 0x10000c252\nmov     byte ptr [r13+r15+0], 0                                        ; +0x177, 0x10000c257\nlea     rsi, [rbp+__dst]                                               ; +0x17d, 0x10000c25d\nmov     rdi, [rbp+var_60]                                              ; +0x181, 0x10000c261\ncall    cocos2d__CCDictionary__objectForKey                            ; +0x185, 0x10000c265\nmov     r15, rax                                                       ; +0x18a, 0x10000c26a\ntest    byte ptr [rbp+__dst], 1                                        ; +0x18d, 0x10000c26d\njz      short loc_10000C27C                                            ; +0x191, 0x10000c271\nmov     rdi, [rbp+__p]; __p                                            ; +0x193, 0x10000c273\ncall    __ZdlPv; operator delete(void *)                               ; +0x197, 0x10000c277\nmovzx   r12d, byte ptr [rbp+var_4C]                                    ; +0x19c, 0x10000c27c\ntest    r15, r15                                                       ; +0x1a1, 0x10000c281\njz      short loc_10000C2AF                                            ; +0x1a4, 0x10000c284\nmov     rax, [r15]                                                     ; +0x1a6, 0x10000c286\nmov     rdi, r15                                                       ; +0x1a9, 0x10000c289\ncall    qword ptr [rax+430h]                                           ; +0x1ac, 0x10000c28c\nmov     rdi, rax                                                       ; +0x1b2, 0x10000c292\nmov     esi, [rbp+var_2C]                                              ; +0x1b5, 0x10000c295\ncall    ButtonSprite__setColor                                         ; +0x1b8, 0x10000c298\nmov     rax, [r15]                                                     ; +0x1bd, 0x10000c29d\nmov     esi, r12d                                                      ; +0x1c0, 0x10000c2a0\nand     esi, 1                                                         ; +0x1c3, 0x10000c2a3\nmov     rdi, r15                                                       ; +0x1c6, 0x10000c2a6\ncall    qword ptr [rax+420h]                                           ; +0x1c9, 0x10000c2a9\nmov     dword ptr [rbp+var_60], r12d                                   ; +0x1cf, 0x10000c2af\nmov     rax, [rbp+var_58]                                              ; +0x1d3, 0x10000c2b3\nmov     r15, [rax]                                                     ; +0x1d7, 0x10000c2b7\nlea     rdi, aI_14; \"%i\"                                               ; +0x1da, 0x10000c2ba\nmov     esi, 2Ch ; ','                                                 ; +0x1e1, 0x10000c2c1\nxor     eax, eax                                                       ; +0x1e6, 0x10000c2c6\ncall    sub_10088E820                                                  ; +0x1e8, 0x10000c2c8\nmov     rdi, rax                                                       ; +0x1ed, 0x10000c2cd\ncall    cocos2d__CCString__getCString                                  ; +0x1f0, 0x10000c2d0\nmov     r13, rax                                                       ; +0x1f5, 0x10000c2d5\nmov     rdi, rax; __s                                                  ; +0x1f8, 0x10000c2d8\ncall    _strlen                                                        ; +0x1fb, 0x10000c2db\ncmp     rax, 0FFFFFFFFFFFFFFF7h                                        ; +0x200, 0x10000c2e0\nja      loc_10000C5D3                                                  ; +0x204, 0x10000c2e4\nmov     r12, rax                                                       ; +0x20a, 0x10000c2ea\ncmp     rax, 17h                                                       ; +0x20d, 0x10000c2ed\njnb     short loc_10000C301                                            ; +0x211, 0x10000c2f1\nlea     eax, [r12+r12]                                                 ; +0x213, 0x10000c2f3\nmov     byte ptr [rbp+__dst], al                                       ; +0x217, 0x10000c2f7\ntest    r12, r12                                                       ; +0x21a, 0x10000c2fa\njnz     short loc_10000C33C                                            ; +0x21d, 0x10000c2fd\njmp     short loc_10000C34A                                            ; +0x21f, 0x10000c2ff\nmov     rax, r12                                                       ; +0x221, 0x10000c301\nor      rax, 7                                                         ; +0x224, 0x10000c304\nlea     rcx, [rax+1]                                                   ; +0x228, 0x10000c308\ncmp     rax, 17h                                                       ; +0x22c, 0x10000c30c\nmov     [rbp+var_68], r15                                              ; +0x230, 0x10000c310\nmov     r15d, 1Ah                                                      ; +0x234, 0x10000c314\ncmovnz  r15, rcx                                                       ; +0x23a, 0x10000c31a\nmov     rdi, r15; __sz                                                 ; +0x23e, 0x10000c31e\ncall    __Znwm; operator new(ulong)                                    ; +0x241, 0x10000c321\nmov     r14, rax                                                       ; +0x246, 0x10000c326\nmov     [rbp+__p], rax                                                 ; +0x249, 0x10000c329\ninc     r15                                                            ; +0x24d, 0x10000c32d\nmov     [rbp+__dst], r15                                               ; +0x250, 0x10000c330\nmov     r15, [rbp+var_68]                                              ; +0x254, 0x10000c334\nmov     [rbp+var_40], r12                                              ; +0x258, 0x10000c338\nmov     rdi, r14; __dst                                                ; +0x25c, 0x10000c33c\nmov     rsi, r13; __src                                                ; +0x25f, 0x10000c33f\nmov     rdx, r12; __len                                                ; +0x262, 0x10000c342\ncall    _memmove                                                       ; +0x265, 0x10000c345\nmov     byte ptr [r14+r12], 0                                          ; +0x26a, 0x10000c34a\nlea     rsi, [rbp+__dst]                                               ; +0x26f, 0x10000c34f\nmov     rdi, r15                                                       ; +0x273, 0x10000c353\ncall    cocos2d__CCDictionary__objectForKey                            ; +0x276, 0x10000c356\nmov     r14, [rbp+var_70]                                              ; +0x27b, 0x10000c35b\nmov     r15, rax                                                       ; +0x27f, 0x10000c35f\ntest    byte ptr [rbp+__dst], 1                                        ; +0x282, 0x10000c362\njz      short loc_10000C371                                            ; +0x286, 0x10000c366\nmov     rdi, [rbp+__p]; __p                                            ; +0x288, 0x10000c368\ncall    __ZdlPv; operator delete(void *)                               ; +0x28c, 0x10000c36c\ntest    r15, r15                                                       ; +0x291, 0x10000c371\njz      short loc_10000C39F                                            ; +0x294, 0x10000c374\nmov     rax, [r15]                                                     ; +0x296, 0x10000c376\nmov     rdi, r15                                                       ; +0x299, 0x10000c379\ncall    qword ptr [rax+430h]                                           ; +0x29c, 0x10000c37c\nmov     rdi, rax                                                       ; +0x2a2, 0x10000c382\nmov     esi, [rbp+var_2C]                                              ; +0x2a5, 0x10000c385\ncall    ButtonSprite__setColor                                         ; +0x2a8, 0x10000c388\nmov     rax, [r15]                                                     ; +0x2ad, 0x10000c38d\nmov     esi, dword ptr [rbp+var_60]                                    ; +0x2b0, 0x10000c390\nand     esi, 1                                                         ; +0x2b3, 0x10000c393\nmov     rdi, r15                                                       ; +0x2b6, 0x10000c396\ncall    qword ptr [rax+420h]                                           ; +0x2b9, 0x10000c399\nmov     rax, [rbp+var_58]                                              ; +0x2bf, 0x10000c39f\nmov     r15, [rax]                                                     ; +0x2c3, 0x10000c3a3\nlea     rdi, aI_14; \"%i\"                                               ; +0x2c6, 0x10000c3a6\nmov     esi, 29h ; ')'                                                 ; +0x2cd, 0x10000c3ad\nxor     eax, eax                                                       ; +0x2d2, 0x10000c3b2\ncall    sub_10088E820                                                  ; +0x2d4, 0x10000c3b4\nmov     rdi, rax                                                       ; +0x2d9, 0x10000c3b9\ncall    cocos2d__CCString__getCString                                  ; +0x2dc, 0x10000c3bc\nmov     r13, rax                                                       ; +0x2e1, 0x10000c3c1\nmov     rdi, rax; __s                                                  ; +0x2e4, 0x10000c3c4\ncall    _strlen                                                        ; +0x2e7, 0x10000c3c7\ncmp     rax, 0FFFFFFFFFFFFFFF7h                                        ; +0x2ec, 0x10000c3cc\nja      loc_10000C5D3                                                  ; +0x2f0, 0x10000c3d0\nmov     r12, rax                                                       ; +0x2f6, 0x10000c3d6\ncmp     rax, 17h                                                       ; +0x2f9, 0x10000c3d9\njnb     short loc_10000C3ED                                            ; +0x2fd, 0x10000c3dd\nlea     eax, [r12+r12]                                                 ; +0x2ff, 0x10000c3df\nmov     byte ptr [rbp+__dst], al                                       ; +0x303, 0x10000c3e3\ntest    r12, r12                                                       ; +0x306, 0x10000c3e6\njnz     short loc_10000C428                                            ; +0x309, 0x10000c3e9\njmp     short loc_10000C436                                            ; +0x30b, 0x10000c3eb\nmov     rax, r12                                                       ; +0x30d, 0x10000c3ed\nor      rax, 7                                                         ; +0x310, 0x10000c3f0\nlea     rcx, [rax+1]                                                   ; +0x314, 0x10000c3f4\ncmp     rax, 17h                                                       ; +0x318, 0x10000c3f8\nmov     [rbp+var_68], r15                                              ; +0x31c, 0x10000c3fc\nmov     r15d, 1Ah                                                      ; +0x320, 0x10000c400\ncmovnz  r15, rcx                                                       ; +0x326, 0x10000c406\nmov     rdi, r15; __sz                                                 ; +0x32a, 0x10000c40a\ncall    __Znwm; operator new(ulong)                                    ; +0x32d, 0x10000c40d\nmov     r14, rax                                                       ; +0x332, 0x10000c412\nmov     [rbp+__p], rax                                                 ; +0x335, 0x10000c415\ninc     r15                                                            ; +0x339, 0x10000c419\nmov     [rbp+__dst], r15                                               ; +0x33c, 0x10000c41c\nmov     r15, [rbp+var_68]                                              ; +0x340, 0x10000c420\nmov     [rbp+var_40], r12                                              ; +0x344, 0x10000c424\nmov     rdi, r14; __dst                                                ; +0x348, 0x10000c428\nmov     rsi, r13; __src                                                ; +0x34b, 0x10000c42b\nmov     rdx, r12; __len                                                ; +0x34e, 0x10000c42e\ncall    _memmove                                                       ; +0x351, 0x10000c431\nmov     byte ptr [r14+r12], 0                                          ; +0x356, 0x10000c436\nlea     rsi, [rbp+__dst]                                               ; +0x35b, 0x10000c43b\nmov     rdi, r15                                                       ; +0x35f, 0x10000c43f\ncall    cocos2d__CCDictionary__objectForKey                            ; +0x362, 0x10000c442\nmov     r14, [rbp+var_70]                                              ; +0x367, 0x10000c447\nmov     r15, rax                                                       ; +0x36b, 0x10000c44b\ntest    byte ptr [rbp+__dst], 1                                        ; +0x36e, 0x10000c44e\njz      short loc_10000C45D                                            ; +0x372, 0x10000c452\nmov     rdi, [rbp+__p]; __p                                            ; +0x374, 0x10000c454\ncall    __ZdlPv; operator delete(void *)                               ; +0x378, 0x10000c458\ntest    r15, r15                                                       ; +0x37d, 0x10000c45d\njz      short loc_10000C48B                                            ; +0x380, 0x10000c460\nmov     rax, [r15]                                                     ; +0x382, 0x10000c462\nmov     rdi, r15                                                       ; +0x385, 0x10000c465\ncall    qword ptr [rax+430h]                                           ; +0x388, 0x10000c468\nmov     rdi, rax                                                       ; +0x38e, 0x10000c46e\nmov     esi, [rbp+var_2C]                                              ; +0x391, 0x10000c471\ncall    ButtonSprite__setColor                                         ; +0x394, 0x10000c474\nmov     rax, [r15]                                                     ; +0x399, 0x10000c479\nmov     esi, dword ptr [rbp+var_60]                                    ; +0x39c, 0x10000c47c\nand     esi, 1                                                         ; +0x39f, 0x10000c47f\nmov     rdi, r15                                                       ; +0x3a2, 0x10000c482\ncall    qword ptr [rax+420h]                                           ; +0x3a5, 0x10000c485\nmov     rax, [rbp+var_58]                                              ; +0x3ab, 0x10000c48b\nmov     r15, [rax]                                                     ; +0x3af, 0x10000c48f\nlea     rdi, aI_14; \"%i\"                                               ; +0x3b2, 0x10000c492\nmov     esi, 2Ah ; '*'                                                 ; +0x3b9, 0x10000c499\nxor     eax, eax                                                       ; +0x3be, 0x10000c49e\ncall    sub_10088E820                                                  ; +0x3c0, 0x10000c4a0\nmov     rdi, rax                                                       ; +0x3c5, 0x10000c4a5\ncall    cocos2d__CCString__getCString                                  ; +0x3c8, 0x10000c4a8\nmov     r13, rax                                                       ; +0x3cd, 0x10000c4ad\nmov     rdi, rax; __s                                                  ; +0x3d0, 0x10000c4b0\ncall    _strlen                                                        ; +0x3d3, 0x10000c4b3\ncmp     rax, 0FFFFFFFFFFFFFFF7h                                        ; +0x3d8, 0x10000c4b8\nja      loc_10000C5D3                                                  ; +0x3dc, 0x10000c4bc\nmov     r12, rax                                                       ; +0x3e2, 0x10000c4c2\ncmp     rax, 17h                                                       ; +0x3e5, 0x10000c4c5\njnb     short loc_10000C4D9                                            ; +0x3e9, 0x10000c4c9\nlea     eax, [r12+r12]                                                 ; +0x3eb, 0x10000c4cb\nmov     byte ptr [rbp+__dst], al                                       ; +0x3ef, 0x10000c4cf\ntest    r12, r12                                                       ; +0x3f2, 0x10000c4d2\njnz     short loc_10000C50C                                            ; +0x3f5, 0x10000c4d5\njmp     short loc_10000C51A                                            ; +0x3f7, 0x10000c4d7\nmov     rax, r12                                                       ; +0x3f9, 0x10000c4d9\nor      rax, 7                                                         ; +0x3fc, 0x10000c4dc\nlea     rcx, [rax+1]                                                   ; +0x400, 0x10000c4e0\ncmp     rax, 17h                                                       ; +0x404, 0x10000c4e4\nmov     r14d, 1Ah                                                      ; +0x408, 0x10000c4e8\ncmovnz  r14, rcx                                                       ; +0x40e, 0x10000c4ee\nmov     rdi, r14; __sz                                                 ; +0x412, 0x10000c4f2\ncall    __Znwm; operator new(ulong)                                    ; +0x415, 0x10000c4f5\nmov     [rbp+__p], rax                                                 ; +0x41a, 0x10000c4fa\ninc     r14                                                            ; +0x41e, 0x10000c4fe\nmov     [rbp+__dst], r14                                               ; +0x421, 0x10000c501\nmov     r14, rax                                                       ; +0x425, 0x10000c505\nmov     [rbp+var_40], r12                                              ; +0x428, 0x10000c508\nmov     rdi, r14; __dst                                                ; +0x42c, 0x10000c50c\nmov     rsi, r13; __src                                                ; +0x42f, 0x10000c50f\nmov     rdx, r12; __len                                                ; +0x432, 0x10000c512\ncall    _memmove                                                       ; +0x435, 0x10000c515\nmov     byte ptr [r14+r12], 0                                          ; +0x43a, 0x10000c51a\nlea     rsi, [rbp+__dst]                                               ; +0x43f, 0x10000c51f\nmov     rdi, r15                                                       ; +0x443, 0x10000c523\ncall    cocos2d__CCDictionary__objectForKey                            ; +0x446, 0x10000c526\nmov     r15, rax                                                       ; +0x44b, 0x10000c52b\ntest    byte ptr [rbp+__dst], 1                                        ; +0x44e, 0x10000c52e\njz      short loc_10000C53D                                            ; +0x452, 0x10000c532\nmov     rdi, [rbp+__p]; __p                                            ; +0x454, 0x10000c534\ncall    __ZdlPv; operator delete(void *)                               ; +0x458, 0x10000c538\ntest    r15, r15                                                       ; +0x45d, 0x10000c53d\nmov     r14d, dword ptr [rbp+var_60]                                   ; +0x460, 0x10000c540\njz      short loc_10000C570                                            ; +0x464, 0x10000c544\nmov     rax, [r15]                                                     ; +0x466, 0x10000c546\nmov     rdi, r15                                                       ; +0x469, 0x10000c549\ncall    qword ptr [rax+430h]                                           ; +0x46c, 0x10000c54c\nmov     rdi, rax                                                       ; +0x472, 0x10000c552\nmov     esi, [rbp+var_2C]                                              ; +0x475, 0x10000c555\ncall    ButtonSprite__setColor                                         ; +0x478, 0x10000c558\nmov     rax, [r15]                                                     ; +0x47d, 0x10000c55d\nand     r14d, 1                                                        ; +0x480, 0x10000c560\nmov     rdi, r15                                                       ; +0x484, 0x10000c564\nmov     esi, r14d                                                      ; +0x487, 0x10000c567\ncall    qword ptr [rax+420h]                                           ; +0x48a, 0x10000c56a\ntest    byte ptr [rbp+var_4C], 1                                       ; +0x490, 0x10000c570\njz      short loc_10000C5B4                                            ; +0x494, 0x10000c574\ncall    GameManager__sharedState                                       ; +0x496, 0x10000c576\nlea     rsi, a0007; \"0007\"                                             ; +0x49b, 0x10000c57b\nmov     rdi, rax                                                       ; +0x4a2, 0x10000c582\ncall    GameManager__getGameVariable                                   ; +0x4a5, 0x10000c585\ntest    al, al                                                         ; +0x4aa, 0x10000c58a\njz      short loc_10000C5BC                                            ; +0x4ac, 0x10000c58c\ncmp     byte ptr [rbp+var_74], 0                                       ; +0x4ae, 0x10000c58e\njnz     short loc_10000C5A8                                            ; +0x4b2, 0x10000c592\nmov     rdi, [rbx+318h]                                                ; +0x4b4, 0x10000c594\nmov     rax, [rdi]                                                     ; +0x4bb, 0x10000c59b\ncall    qword ptr [rax+160h]                                           ; +0x4be, 0x10000c59e\ntest    al, al                                                         ; +0x4c4, 0x10000c5a4\njnz     short loc_10000C5BC                                            ; +0x4c6, 0x10000c5a6\nmov     rdi, rbx                                                       ; +0x4c8, 0x10000c5a8\nxor     esi, esi                                                       ; +0x4cb, 0x10000c5ab\ncall    EditorUI__activateRotationControl                              ; +0x4cd, 0x10000c5ad\njmp     short loc_10000C5BC                                            ; +0x4d2, 0x10000c5b2\nmov     rdi, rbx                                                       ; +0x4d4, 0x10000c5b4\ncall    EditorUI__deactivateRotationControl                            ; +0x4d7, 0x10000c5b7\nmov     rdi, rbx                                                       ; +0x4dc, 0x10000c5bc\ncall    EditorUI__updateGridNodeSize_1                                 ; +0x4df, 0x10000c5bf\nadd     rsp, 58h                                                       ; +0x4e4, 0x10000c5c4\npop     rbx                                                            ; +0x4e8, 0x10000c5c8\npop     r12                                                            ; +0x4e9, 0x10000c5c9\npop     r13                                                            ; +0x4eb, 0x10000c5cb\npop     r14                                                            ; +0x4ed, 0x10000c5cd\npop     r15                                                            ; +0x4ef, 0x10000c5cf\npop     rbp                                                            ; +0x4f1, 0x10000c5d1\nretn                                                                   ; +0x4f2, 0x10000c5d2\ncall    sub_100003630                                                  ; +0x4f3, 0x10000c5d3", "xrefs": ["EditorUI::toggleEnableRotate @ 0x100008110", "EditorUI::updateButtons @ 0x10000ae58", "EditorUI::activateTransformControl @ 0x10061194d"], "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"}