{"type": "func", "start": 5372892400, "end": 5372892535, "name": "SetGroupIDLayer::updateEditorLabel", "pseudocode": "// \n// SetGroupIDLayer::updateEditorLabel from 0x1403fd4f0 to 0x1403fd577 (135 bytes)\n// \n// 6 xrefs:\n// > SetGroupIDLayer::init @ 0x1403f9e3f\n// > SetGroupIDLayer::onArrow @ 0x1403fb1f2\n// > SetGroupIDLayer::onPaste @ 0x1403fb83f\n// > SetGroupIDLayer::onNextFreeEditorLayer1 @ 0x1403fd027\n// > <???> @ 0x1406d8588\n// > <???> @ 0x1406d8594\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\nvoid SetGroupIDLayer::updateEditorLabel(SetGroupIDLayer *a1)\n{\n  int m_editorLayerValue; // edx\n  char *CString; // rax\n  cocos2d::CCString *v4; // rax\n  size_t v5; // r8\n  __int128 v6; // [rsp+20h] [rbp-28h] BYREF\n  __int64 v7; // [rsp+30h] [rbp-18h]\n  __int64 v8; // [rsp+38h] [rbp-10h]\n\n  m_editorLayerValue = a1->m_editorLayerValue;\n  CString = byte_140518980;\n  a1->m_editorLayerEdited = 1;\n  if ( m_editorLayerValue > -1 )\n  {\n    v4 = cocos2d::CCString::createWithFormat(\"%i\", m_editorLayerValue);\n    CString = (char *)cocos2d::CCString::getCString(v4);\n  }\n  v6 = 0;\n  v7 = 0;\n  v5 = -1;\n  v8 = 0;\n  do\n    ++v5;\n  while ( CString[v5] );\n  sub_14003A930(&v6, CString, v5);\n  CCTextInputNode::setString((__int64)a1->m_editorLayerInput, &v6);\n  a1->m_editorLayerEdited = 0;\n}", "assembly": "; \n; SetGroupIDLayer::updateEditorLabel from 0x1403fd4f0 to 0x1403fd577 (135 bytes)\n; \n; 6 xrefs:\n; > SetGroupIDLayer::init @ 0x1403f9e3f\n; > SetGroupIDLayer::onArrow @ 0x1403fb1f2\n; > SetGroupIDLayer::onPaste @ 0x1403fb83f\n; > SetGroupIDLayer::onNextFreeEditorLayer1 @ 0x1403fd027\n; > <???> @ 0x1406d8588\n; > <???> @ 0x1406d8594\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\npush    rbx                                                            ; +0x0, 0x1403fd4f0\nsub     rsp, 40h                                                       ; +0x2, 0x1403fd4f2\nmov     edx, [rcx+2E8h]                                                ; +0x6, 0x1403fd4f6\nlea     rax, byte_140518980                                            ; +0xc, 0x1403fd4fc\nmov     byte ptr [rcx+2FDh], 1                                         ; +0x13, 0x1403fd503\nmov     rbx, rcx                                                       ; +0x1a, 0x1403fd50a\ncmp     edx, 0FFFFFFFFh                                                ; +0x1d, 0x1403fd50d\njle     short loc_1403FD528                                            ; +0x20, 0x1403fd510\nlea     rcx, aI_11; \"%i\"                                               ; +0x22, 0x1403fd512\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x29, 0x1403fd519\nmov     rcx, rax                                                       ; +0x2f, 0x1403fd51f\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x32, 0x1403fd522\nxor     ecx, ecx                                                       ; +0x38, 0x1403fd528\nxorps   xmm0, xmm0                                                     ; +0x3a, 0x1403fd52a\nmovups  [rsp+48h+var_28], xmm0                                         ; +0x3d, 0x1403fd52d\nmov     [rsp+48h+var_18], rcx                                          ; +0x42, 0x1403fd532\nmov     r8, 0FFFFFFFFFFFFFFFFh                                         ; +0x47, 0x1403fd537\nmov     [rsp+48h+var_10], rcx                                          ; +0x4e, 0x1403fd53e\ninc     r8                                                             ; +0x53, 0x1403fd543\ncmp     [rax+r8], cl                                                   ; +0x56, 0x1403fd546\njnz     short loc_1403FD543                                            ; +0x5a, 0x1403fd54a\nmov     rdx, rax                                                       ; +0x5c, 0x1403fd54c\nlea     rcx, [rsp+48h+var_28]                                          ; +0x5f, 0x1403fd54f\ncall    sub_14003A930                                                  ; +0x64, 0x1403fd554\nmov     rcx, [rbx+2A8h]                                                ; +0x69, 0x1403fd559\nlea     rdx, [rsp+48h+var_28]                                          ; +0x70, 0x1403fd560\ncall    CCTextInputNode__setString                                     ; +0x75, 0x1403fd565\nmov     byte ptr [rbx+2FDh], 0                                         ; +0x7a, 0x1403fd56a\nadd     rsp, 40h                                                       ; +0x81, 0x1403fd571\npop     rbx                                                            ; +0x85, 0x1403fd575\nretn                                                                   ; +0x86, 0x1403fd576", "xrefs": ["SetGroupIDLayer::init @ 0x1403f9e3f", "SetGroupIDLayer::onArrow @ 0x1403fb1f2", "SetGroupIDLayer::onPaste @ 0x1403fb83f", "SetGroupIDLayer::onNextFreeEditorLayer1 @ 0x1403fd027", "<???> @ 0x1406d8588", "<???> @ 0x1406d8594"], "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"}