{"type": "func", "start": 4295011392, "end": 4295011666, "name": "EditorUI::updateGroupIDLabel", "pseudocode": "// \n// EditorUI::updateGroupIDLabel from 0x10000ac40 to 0x10000ad52 (274 bytes)\n// \n// 9 xrefs:\n// > EditorUI::init @ 0x1000076bd\n// > EditorUI::onGoToLayer @ 0x10000a9ab\n// > EditorUI::onGroupUp @ 0x10000aaf3\n// > EditorUI::onGroupDown @ 0x10000ab24\n// > EditorUI::onGoToBaseLayer @ 0x10000ab45\n// > EditorUI::onGoToFreeLayer @ 0x10000abc8\n// > EditorUI::onLockLayer @ 0x10000ac26\n// > EditorUI::showUI @ 0x10000bd00\n// > LevelEditorLayer::updateOptions @ 0x1000ab3e0\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:49 +0000\n// \n\n__int64 __fastcall EditorUI::updateGroupIDLabel(__int64 a1)\n{\n  __int64 v2; // rax\n  const char *CString; // rsi\n  unsigned __int8 isLayerLocked; // r14\n  __int64 *v5; // rdi\n  __int64 v6; // rax\n  __int16 *v7; // rsi\n  unsigned int v8; // r14d\n  char v10; // [rsp+0h] [rbp-20h]\n  __int16 v11; // [rsp+Ch] [rbp-14h] BYREF\n  char v12; // [rsp+Eh] [rbp-12h]\n\n  if ( *(__int16 *)(*(_QWORD *)(a1 + 1440) + 14210LL) < 0 )\n  {\n    CString = \"All\";\n  }\n  else\n  {\n    v2 = sub_10088E820(\"%i\", v10);\n    CString = (const char *)cocos2d::CCString::getCString(v2);\n  }\n  (*(void (__fastcall **)(_QWORD, const char *))(**(_QWORD **)(a1 + 1280) + 928LL))(*(_QWORD *)(a1 + 1280), CString);\n  cocos2d::CCLabelBMFont::limitLabelWidth(*(_QWORD *)(a1 + 1280), 38.0, 0.60000002, 0.0);\n  isLayerLocked = LevelEditorLayer::isLayerLocked(\n                    *(_QWORD *)(a1 + 1440),\n                    (unsigned int)*(__int16 *)(*(_QWORD *)(a1 + 1440) + 14210LL));\n  v5 = *(__int64 **)(a1 + 1280);\n  if ( isLayerLocked )\n  {\n    v12 = 0;\n    v11 = -26881;\n    v6 = *v5;\n    v7 = &v11;\n  }\n  else\n  {\n    v6 = *v5;\n    v7 = (__int16 *)&unk_100A038D0;\n  }\n  (*(void (__fastcall **)(__int64 *, __int16 *))(v6 + 1072))(v5, v7);\n  (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 1576) + 344LL))(*(_QWORD *)(a1 + 1576), isLayerLocked);\n  v8 = *(unsigned __int16 *)(*(_QWORD *)(a1 + 1440) + 14210LL);\n  (*(void (__fastcall **)(_QWORD, bool))(**(_QWORD **)(a1 + 1304) + 344LL))(*(_QWORD *)(a1 + 1304), (v8 & 0x8000u) == 0);\n  return (*(__int64 (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 1184) + 344LL))(\n           *(_QWORD *)(a1 + 1184),\n           v8 >> 15);\n}", "assembly": "; \n; EditorUI::updateGroupIDLabel from 0x10000ac40 to 0x10000ad52 (274 bytes)\n; \n; 9 xrefs:\n; > EditorUI::init @ 0x1000076bd\n; > EditorUI::onGoToLayer @ 0x10000a9ab\n; > EditorUI::onGroupUp @ 0x10000aaf3\n; > EditorUI::onGroupDown @ 0x10000ab24\n; > EditorUI::onGoToBaseLayer @ 0x10000ab45\n; > EditorUI::onGoToFreeLayer @ 0x10000abc8\n; > EditorUI::onLockLayer @ 0x10000ac26\n; > EditorUI::showUI @ 0x10000bd00\n; > LevelEditorLayer::updateOptions @ 0x1000ab3e0\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:49 +0000\n; \npush    rbp                                                            ; +0x0, 0x10000ac40\nmov     rbp, rsp                                                       ; +0x1, 0x10000ac41\npush    r14                                                            ; +0x4, 0x10000ac44\npush    rbx                                                            ; +0x6, 0x10000ac46\nsub     rsp, 10h                                                       ; +0x7, 0x10000ac47\nmov     rbx, rdi                                                       ; +0xb, 0x10000ac4b\nmov     rax, [rdi+5A0h]                                                ; +0xe, 0x10000ac4e\nmovsx   esi, word ptr [rax+3782h]                                      ; +0x15, 0x10000ac55\ntest    esi, esi                                                       ; +0x1c, 0x10000ac5c\njs      short loc_10000AC7B                                            ; +0x1e, 0x10000ac5e\nlea     rdi, aI_14; \"%i\"                                               ; +0x20, 0x10000ac60\nxor     eax, eax                                                       ; +0x27, 0x10000ac67\ncall    sub_10088E820                                                  ; +0x29, 0x10000ac69\nmov     rdi, rax                                                       ; +0x2e, 0x10000ac6e\ncall    cocos2d__CCString__getCString                                  ; +0x31, 0x10000ac71\nmov     rsi, rax                                                       ; +0x36, 0x10000ac76\njmp     short loc_10000AC82                                            ; +0x39, 0x10000ac79\nlea     rsi, aAll; \"All\"                                               ; +0x3b, 0x10000ac7b\nmov     rdi, [rbx+500h]                                                ; +0x42, 0x10000ac82\nmov     rax, [rdi]                                                     ; +0x49, 0x10000ac89\ncall    qword ptr [rax+3A0h]                                           ; +0x4c, 0x10000ac8c\nmov     rdi, [rbx+500h]                                                ; +0x52, 0x10000ac92\nmovss   xmm0, cs:dword_100A0380C                                       ; +0x59, 0x10000ac99\nmovss   xmm1, cs:dword_100A037D4                                       ; +0x61, 0x10000aca1\nxorps   xmm2, xmm2                                                     ; +0x69, 0x10000aca9\ncall    cocos2d__CCLabelBMFont__limitLabelWidth                        ; +0x6c, 0x10000acac\nmov     rdi, [rbx+5A0h]                                                ; +0x71, 0x10000acb1\nmovsx   esi, word ptr [rdi+3782h]                                      ; +0x78, 0x10000acb8\ncall    LevelEditorLayer__isLayerLocked                                ; +0x7f, 0x10000acbf\nmov     r14d, eax                                                      ; +0x84, 0x10000acc4\nmov     rdi, [rbx+500h]                                                ; +0x87, 0x10000acc7\ntest    al, al                                                         ; +0x8e, 0x10000acce\njz      short loc_10000ACE5                                            ; +0x90, 0x10000acd0\nmov     [rbp+var_12], 0                                                ; +0x92, 0x10000acd2\nmov     [rbp+var_14], 96FFh                                            ; +0x96, 0x10000acd6\nmov     rax, [rdi]                                                     ; +0x9c, 0x10000acdc\nlea     rsi, [rbp+var_14]                                              ; +0x9f, 0x10000acdf\njmp     short loc_10000ACEF                                            ; +0xa3, 0x10000ace3\nmov     rax, [rdi]                                                     ; +0xa5, 0x10000ace5\nlea     rsi, unk_100A038D0                                             ; +0xa8, 0x10000ace8\ncall    qword ptr [rax+430h]                                           ; +0xaf, 0x10000acef\nmov     rdi, [rbx+628h]                                                ; +0xb5, 0x10000acf5\nmov     rax, [rdi]                                                     ; +0xbc, 0x10000acfc\nmovzx   esi, r14b                                                      ; +0xbf, 0x10000acff\ncall    qword ptr [rax+158h]                                           ; +0xc3, 0x10000ad03\nmov     rdi, [rbx+518h]                                                ; +0xc9, 0x10000ad09\nmov     rax, [rbx+5A0h]                                                ; +0xd0, 0x10000ad10\nmovzx   r14d, word ptr [rax+3782h]                                     ; +0xd7, 0x10000ad17\nxor     esi, esi                                                       ; +0xdf, 0x10000ad1f\ntest    r14w, r14w                                                     ; +0xe1, 0x10000ad21\nsetns   sil                                                            ; +0xe5, 0x10000ad25\nmov     rax, [rdi]                                                     ; +0xe9, 0x10000ad29\ncall    qword ptr [rax+158h]                                           ; +0xec, 0x10000ad2c\nmov     rdi, [rbx+4A0h]                                                ; +0xf2, 0x10000ad32\nmov     rax, [rdi]                                                     ; +0xf9, 0x10000ad39\nshr     r14d, 0Fh                                                      ; +0xfc, 0x10000ad3c\nmov     esi, r14d                                                      ; +0x100, 0x10000ad40\ncall    qword ptr [rax+158h]                                           ; +0x103, 0x10000ad43\nadd     rsp, 10h                                                       ; +0x109, 0x10000ad49\npop     rbx                                                            ; +0x10d, 0x10000ad4d\npop     r14                                                            ; +0x10e, 0x10000ad4e\npop     rbp                                                            ; +0x110, 0x10000ad50\nretn                                                                   ; +0x111, 0x10000ad51", "xrefs": ["EditorUI::init @ 0x1000076bd", "EditorUI::onGoToLayer @ 0x10000a9ab", "EditorUI::onGroupUp @ 0x10000aaf3", "EditorUI::onGroupDown @ 0x10000ab24", "EditorUI::onGoToBaseLayer @ 0x10000ab45", "EditorUI::onGoToFreeLayer @ 0x10000abc8", "EditorUI::onLockLayer @ 0x10000ac26", "EditorUI::showUI @ 0x10000bd00", "LevelEditorLayer::updateOptions @ 0x1000ab3e0"], "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"}