{"type": "func", "start": 4296408652, "end": 4296408788, "name": "EditorUI::updateEditButtonColor", "pseudocode": "// \n// EditorUI::updateEditButtonColor from 0x10015fe4c to 0x10015fed4 (136 bytes)\n// \n// 4 xrefs:\n// > EditorUI::deactivateTransformControl @ 0x10015f8e0\n// > EditorUI::activateScaleControl @ 0x10015ffb4\n// > EditorUI::deactivateScaleControl @ 0x100160120\n// > EditorUI::showTransformControl @ 0x1001604f0\n// \n// This function is hookable on this platform (idp: arm, 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 10:59:45 +0000\n// \n\nvoid __fastcall EditorUI::updateEditButtonColor(__int64 a1, int a2, int a3)\n{\n  __int64 v3; // x20\n  __int64 v5; // x0\n  char *CString; // x0\n  __int64 v7; // x20\n  _QWORD *v8; // x0\n  void *__p[2]; // [xsp+8h] [xbp-28h] BYREF\n  char v10; // [xsp+1Fh] [xbp-11h]\n\n  v3 = *(_QWORD *)(a1 + 816);\n  if ( v3 )\n  {\n    v5 = sub_1003065B0(\"%i\", a2);\n    CString = (char *)cocos2d::CCString::getCString(v5);\n    sub_100009900(__p, CString);\n    v7 = cocos2d::CCDictionary::objectForKey(v3, __p);\n    if ( v10 < 0 )\n      operator delete(__p[0]);\n    if ( v7 )\n    {\n      v8 = (_QWORD *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v7 + 1072LL))(v7);\n      ButtonSprite::setColor(v8, a3 & 0xFFFFFF);\n    }\n  }\n}", "assembly": "; \n; EditorUI::updateEditButtonColor from 0x10015fe4c to 0x10015fed4 (136 bytes)\n; \n; 4 xrefs:\n; > EditorUI::deactivateTransformControl @ 0x10015f8e0\n; > EditorUI::activateScaleControl @ 0x10015ffb4\n; > EditorUI::deactivateScaleControl @ 0x100160120\n; > EditorUI::showTransformControl @ 0x1001604f0\n; \n; This function is hookable on this platform (idp: arm, 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 10:59:45 +0000\n; \nSUB             SP, SP, #0x40                                          ; +0x0, 0x10015fe4c\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x10015fe50\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x10015fe54\nADD             X29, SP, #0x30                                         ; +0xc, 0x10015fe58\nLDR             X20, [X0,#0x330]                                       ; +0x10, 0x10015fe5c\nCBZ             X20, loc_10015FEC4                                     ; +0x14, 0x10015fe60\nMOV             X19, X2                                                ; +0x18, 0x10015fe64\nSTR             X1, [SP,#0x30+var_30]                                  ; +0x1c, 0x10015fe68\nADRL            X0, aI; \"%i\"                                           ; +0x20, 0x10015fe6c\nBL              sub_1003065B0                                          ; +0x28, 0x10015fe74\nBL              cocos2d__CCString__getCString                          ; +0x2c, 0x10015fe78\nMOV             X1, X0; __s                                            ; +0x30, 0x10015fe7c\nADD             X0, SP, #0x30+__p; int                                 ; +0x34, 0x10015fe80\nBL              sub_100009900                                          ; +0x38, 0x10015fe84\nADD             X1, SP, #0x30+__p                                      ; +0x3c, 0x10015fe88\nMOV             X0, X20                                                ; +0x40, 0x10015fe8c\nBL              cocos2d__CCDictionary__objectForKey                    ; +0x44, 0x10015fe90\nMOV             X20, X0                                                ; +0x48, 0x10015fe94\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x4c, 0x10015fe98\nTBZ             W8, #0x1F, loc_10015FEA8                               ; +0x50, 0x10015fe9c\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x54, 0x10015fea0\nBL              __ZdlPv; operator delete(void *)                       ; +0x58, 0x10015fea4\nCBZ             X20, loc_10015FEC4                                     ; +0x5c, 0x10015fea8\nLDR             X8, [X20]                                              ; +0x60, 0x10015feac\nLDR             X8, [X8,#0x430]                                        ; +0x64, 0x10015feb0\nMOV             X0, X20                                                ; +0x68, 0x10015feb4\nBLR             X8                                                     ; +0x6c, 0x10015feb8\nAND             X1, X19, #0xFFFFFF                                     ; +0x70, 0x10015febc\nBL              ButtonSprite__setColor                                 ; +0x74, 0x10015fec0\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x78, 0x10015fec4\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x7c, 0x10015fec8\nADD             SP, SP, #0x40 ; '@'                                    ; +0x80, 0x10015fecc\nRET                                                                    ; +0x84, 0x10015fed0", "xrefs": ["EditorUI::deactivateTransformControl @ 0x10015f8e0", "EditorUI::activateScaleControl @ 0x10015ffb4", "EditorUI::deactivateScaleControl @ 0x100160120", "EditorUI::showTransformControl @ 0x1001604f0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}