{"type": "func", "start": 4295328640, "end": 4295328760, "name": "CustomizeObjectLayer::updateCustomColorLabels", "pseudocode": "// \n// CustomizeObjectLayer::updateCustomColorLabels from 0x100058380 to 0x1000583f8 (120 bytes)\n// \n// 5 xrefs:\n// > CustomizeObjectLayer::init @ 0x100056e00\n// > CustomizeObjectLayer::onUpdateCustomColor @ 0x100058350\n// > CustomizeObjectLayer::onNextColorChannel @ 0x100058784\n// > CustomizeObjectLayer::updateCurrentSelection @ 0x1000589b0\n// > CustomizeObjectLayer::colorSetupClosed @ 0x100058cd8\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:57:46 +0000\n// \n\nvoid __fastcall CustomizeObjectLayer::updateCustomColorLabels(__int64 a1)\n{\n  __int64 v2; // x0\n  char *CString; // x20\n  __int64 v4; // x19\n  void *__p[2]; // [xsp+8h] [xbp-28h] BYREF\n  char v6; // [xsp+1Fh] [xbp-11h]\n\n  v2 = sub_1003065B0(\"%i\", *(_DWORD *)(a1 + 748));\n  CString = (char *)cocos2d::CCString::getCString(v2);\n  ButtonSprite::setString(*(_QWORD *)(a1 + 856), CString);\n  v4 = *(_QWORD *)(a1 + 816);\n  sub_100009900(__p, CString);\n  CCTextInputNode::setString(v4, __p);\n  if ( v6 < 0 )\n    operator delete(__p[0]);\n}", "assembly": "; \n; CustomizeObjectLayer::updateCustomColorLabels from 0x100058380 to 0x1000583f8 (120 bytes)\n; \n; 5 xrefs:\n; > CustomizeObjectLayer::init @ 0x100056e00\n; > CustomizeObjectLayer::onUpdateCustomColor @ 0x100058350\n; > CustomizeObjectLayer::onNextColorChannel @ 0x100058784\n; > CustomizeObjectLayer::updateCurrentSelection @ 0x1000589b0\n; > CustomizeObjectLayer::colorSetupClosed @ 0x100058cd8\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:57:46 +0000\n; \nSUB             SP, SP, #0x40                                          ; +0x0, 0x100058380\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x100058384\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x100058388\nADD             X29, SP, #0x30                                         ; +0xc, 0x10005838c\nMOV             X19, X0                                                ; +0x10, 0x100058390\nLDR             W8, [X0,#0x2EC]                                        ; +0x14, 0x100058394\nSTR             X8, [SP,#0x30+var_30]                                  ; +0x18, 0x100058398\nADRL            X0, aI; \"%i\"                                           ; +0x1c, 0x10005839c\nBL              sub_1003065B0                                          ; +0x24, 0x1000583a4\nBL              cocos2d__CCString__getCString                          ; +0x28, 0x1000583a8\nMOV             X20, X0                                                ; +0x2c, 0x1000583ac\nLDR             X0, [X19,#0x358]                                       ; +0x30, 0x1000583b0\nMOV             X1, X20                                                ; +0x34, 0x1000583b4\nBL              ButtonSprite__setString                                ; +0x38, 0x1000583b8\nLDR             X19, [X19,#0x330]                                      ; +0x3c, 0x1000583bc\nADD             X0, SP, #0x30+__p; int                                 ; +0x40, 0x1000583c0\nMOV             X1, X20; __s                                           ; +0x44, 0x1000583c4\nBL              sub_100009900                                          ; +0x48, 0x1000583c8\nADD             X1, SP, #0x30+__p                                      ; +0x4c, 0x1000583cc\nMOV             X0, X19                                                ; +0x50, 0x1000583d0\nBL              CCTextInputNode__setString                             ; +0x54, 0x1000583d4\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x58, 0x1000583d8\nTBZ             W8, #0x1F, loc_1000583E8                               ; +0x5c, 0x1000583dc\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x60, 0x1000583e0\nBL              __ZdlPv; operator delete(void *)                       ; +0x64, 0x1000583e4\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x68, 0x1000583e8\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x6c, 0x1000583ec\nADD             SP, SP, #0x40 ; '@'                                    ; +0x70, 0x1000583f0\nRET                                                                    ; +0x74, 0x1000583f4", "xrefs": ["CustomizeObjectLayer::init @ 0x100056e00", "CustomizeObjectLayer::onUpdateCustomColor @ 0x100058350", "CustomizeObjectLayer::onNextColorChannel @ 0x100058784", "CustomizeObjectLayer::updateCurrentSelection @ 0x1000589b0", "CustomizeObjectLayer::colorSetupClosed @ 0x100058cd8"], "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"}