{"type": "func", "start": 4295293796, "end": 4295293916, "name": "CustomizeObjectLayer::updateCustomColorLabels", "pseudocode": "// \n// CustomizeObjectLayer::updateCustomColorLabels from 0x10004fb64 to 0x10004fbdc (120 bytes)\n// \n// 5 xrefs:\n// > CustomizeObjectLayer::init @ 0x10004e62c\n// > CustomizeObjectLayer::onUpdateCustomColor @ 0x10004fb34\n// > CustomizeObjectLayer::onNextColorChannel @ 0x10004ff68\n// > CustomizeObjectLayer::updateCurrentSelection @ 0x100050194\n// > CustomizeObjectLayer::colorSetupClosed @ 0x1000504bc\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 __fastcall CustomizeObjectLayer::updateCustomColorLabels(CustomizeObjectLayer *a1)\n{\n  cocos2d::CCString *v2; // x0\n  char *CString; // x20\n  CCTextInputNode *m_customColorInput; // x19\n  void *__p[2]; // [xsp+8h] [xbp-28h] BYREF\n  char v6; // [xsp+1Fh] [xbp-11h]\n\n  v2 = (cocos2d::CCString *)sub_100268F4C(\"%i\", a1->m_customColorChannel);\n  CString = (char *)cocos2d::CCString::getCString(v2);\n  ButtonSprite::setString(a1->m_customColorButtonSprite, CString);\n  m_customColorInput = a1->m_customColorInput;\n  sub_100009900(__p, CString);\n  CCTextInputNode::setString(m_customColorInput, __p);\n  if ( v6 < 0 )\n    operator delete(__p[0]);\n}", "assembly": "; \n; CustomizeObjectLayer::updateCustomColorLabels from 0x10004fb64 to 0x10004fbdc (120 bytes)\n; \n; 5 xrefs:\n; > CustomizeObjectLayer::init @ 0x10004e62c\n; > CustomizeObjectLayer::onUpdateCustomColor @ 0x10004fb34\n; > CustomizeObjectLayer::onNextColorChannel @ 0x10004ff68\n; > CustomizeObjectLayer::updateCurrentSelection @ 0x100050194\n; > CustomizeObjectLayer::colorSetupClosed @ 0x1000504bc\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\nSUB             SP, SP, #0x40                                          ; +0x0, 0x10004fb64\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x10004fb68\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x10004fb6c\nADD             X29, SP, #0x30                                         ; +0xc, 0x10004fb70\nMOV             X19, X0                                                ; +0x10, 0x10004fb74\nLDR             W8, [X0,#0x2D4]                                        ; +0x14, 0x10004fb78\nSTR             X8, [SP,#0x30+var_30]                                  ; +0x18, 0x10004fb7c\nADRL            X0, aI; \"%i\"                                           ; +0x1c, 0x10004fb80\nBL              sub_100268F4C                                          ; +0x24, 0x10004fb88\nBL              cocos2d__CCString__getCString                          ; +0x28, 0x10004fb8c\nMOV             X20, X0                                                ; +0x2c, 0x10004fb90\nLDR             X0, [X19,#0x340]                                       ; +0x30, 0x10004fb94\nMOV             X1, X20                                                ; +0x34, 0x10004fb98\nBL              ButtonSprite__setString                                ; +0x38, 0x10004fb9c\nLDR             X19, [X19,#0x318]                                      ; +0x3c, 0x10004fba0\nADD             X0, SP, #0x30+__p; int                                 ; +0x40, 0x10004fba4\nMOV             X1, X20; __s                                           ; +0x44, 0x10004fba8\nBL              sub_100009900                                          ; +0x48, 0x10004fbac\nADD             X1, SP, #0x30+__p                                      ; +0x4c, 0x10004fbb0\nMOV             X0, X19                                                ; +0x50, 0x10004fbb4\nBL              CCTextInputNode__setString                             ; +0x54, 0x10004fbb8\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x58, 0x10004fbbc\nTBZ             W8, #0x1F, loc_10004FBCC                               ; +0x5c, 0x10004fbc0\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x60, 0x10004fbc4\nBL              __ZdlPv; operator delete(void *)                       ; +0x64, 0x10004fbc8\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x68, 0x10004fbcc\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x6c, 0x10004fbd0\nADD             SP, SP, #0x40 ; '@'                                    ; +0x70, 0x10004fbd4\nRET                                                                    ; +0x74, 0x10004fbd8", "xrefs": ["CustomizeObjectLayer::init @ 0x10004e62c", "CustomizeObjectLayer::onUpdateCustomColor @ 0x10004fb34", "CustomizeObjectLayer::onNextColorChannel @ 0x10004ff68", "CustomizeObjectLayer::updateCurrentSelection @ 0x100050194", "CustomizeObjectLayer::colorSetupClosed @ 0x1000504bc"], "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"}