{"type": "func", "start": 9974944, "end": 9975112, "name": "CustomizeObjectLayer::updateChannelLabel", "pseudocode": "// \n// CustomizeObjectLayer::updateChannelLabel from 0x9834a0 to 0x983548 (168 bytes)\n// \n// 8 xrefs:\n// > CustomizeObjectLayer::onUpdateCustomColor @ 0x983b74\n// > CustomizeObjectLayer::onSelectColor @ 0x983d30\n// > CustomizeObjectLayer::colorSetupClosed @ 0x983da4\n// > CustomizeObjectLayer::onNextColorChannel @ 0x983e40\n// > CustomizeObjectLayer::onPaste @ 0x983eec\n// > CustomizeObjectLayer::onSelectMode @ 0x9841e0\n// > CustomizeObjectLayer::textChanged @ 0x984a58\n// > <???> @ 0x916d8\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 12:57:52 +0000\n// \n\n__int64 __fastcall CustomizeObjectLayer::updateChannelLabel(CustomizeObjectLayer *this, GJSpecialColorSelect *a2)\n{\n  cocos2d::CCString *v3; // x0\n  __int64 CString; // x0\n  __int64 v6; // x0\n\n  if ( (int)a2 > 999 )\n  {\n    v6 = GJSpecialColorSelect::textForColorIdx((GJSpecialColorSelect *)(unsigned int)a2, (int)a2);\n    return (*(__int64 (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 101) + 928LL))(*((_QWORD *)this + 101), v6);\n  }\n  else if ( (int)a2 <= 0 )\n  {\n    return (*(__int64 (__fastcall **)(_QWORD, char *))(**((_QWORD **)this + 101) + 928LL))(\n             *((_QWORD *)this + 101),\n             &byte_11E1A70);\n  }\n  else\n  {\n    v3 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)\"%i\", (const char *)a2);\n    CString = cocos2d::CCString::getCString(v3);\n    return (*(__int64 (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 101) + 928LL))(\n             *((_QWORD *)this + 101),\n             CString);\n  }\n}", "assembly": "; \n; CustomizeObjectLayer::updateChannelLabel from 0x9834a0 to 0x983548 (168 bytes)\n; \n; 8 xrefs:\n; > CustomizeObjectLayer::onUpdateCustomColor @ 0x983b74\n; > CustomizeObjectLayer::onSelectColor @ 0x983d30\n; > CustomizeObjectLayer::colorSetupClosed @ 0x983da4\n; > CustomizeObjectLayer::onNextColorChannel @ 0x983e40\n; > CustomizeObjectLayer::onPaste @ 0x983eec\n; > CustomizeObjectLayer::onSelectMode @ 0x9841e0\n; > CustomizeObjectLayer::textChanged @ 0x984a58\n; > <???> @ 0x916d8\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 12:57:52 +0000\n; \nSTP             X29, X30, [SP,#var_20]!                                ; +0x0, 0x9834a0\nCMP             W1, #0x3E7                                             ; +0x4, 0x9834a4\nMOV             X29, SP                                                ; +0x8, 0x9834a8\nSTR             X19, [SP,#0x20+var_10]                                 ; +0xc, 0x9834ac\nMOV             X19, X0                                                ; +0x10, 0x9834b0\nB.GT            loc_98351C                                             ; +0x14, 0x9834b4\nCMP             W1, WZR                                                ; +0x18, 0x9834b8\nB.LE            loc_9834F4                                             ; +0x1c, 0x9834bc\nADRL            X0, (aSongidI+8); this                                 ; +0x20, 0x9834c0\nBL              _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x28, 0x9834c8\nBL              _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x2c, 0x9834cc\nMOV             X1, X0                                                 ; +0x30, 0x9834d0\nLDR             X2, [X19,#0x328]                                       ; +0x34, 0x9834d4\nMOV             X0, X2                                                 ; +0x38, 0x9834d8\nLDR             X2, [X2]                                               ; +0x3c, 0x9834dc\nLDR             X2, [X2,#0x3A0]                                        ; +0x40, 0x9834e0\nBLR             X2                                                     ; +0x44, 0x9834e4\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x48, 0x9834e8\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x4c, 0x9834ec\nRET                                                                    ; +0x50, 0x9834f0\nLDR             X2, [X19,#0x328]                                       ; +0x54, 0x9834f4\nADRL            X1, byte_11E1A70                                       ; +0x58, 0x9834f8\nMOV             X0, X2                                                 ; +0x60, 0x983500\nLDR             X2, [X2]                                               ; +0x64, 0x983504\nLDR             X2, [X2,#0x3A0]                                        ; +0x68, 0x983508\nBLR             X2                                                     ; +0x6c, 0x98350c\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x70, 0x983510\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x74, 0x983514\nRET                                                                    ; +0x78, 0x983518\nMOV             W0, W1; this                                           ; +0x7c, 0x98351c\nBL              _ZN20GJSpecialColorSelect15textForColorIdxEi; GJSpecialColorSelect::textForColorIdx(int) ; +0x80, 0x983520\nMOV             X1, X0                                                 ; +0x84, 0x983524\nLDR             X2, [X19,#0x328]                                       ; +0x88, 0x983528\nMOV             X0, X2                                                 ; +0x8c, 0x98352c\nLDR             X2, [X2]                                               ; +0x90, 0x983530\nLDR             X2, [X2,#0x3A0]                                        ; +0x94, 0x983534\nBLR             X2                                                     ; +0x98, 0x983538\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x9c, 0x98353c\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0xa0, 0x983540\nRET                                                                    ; +0xa4, 0x983544", "xrefs": ["CustomizeObjectLayer::onUpdateCustomColor @ 0x983b74", "CustomizeObjectLayer::onSelectColor @ 0x983d30", "CustomizeObjectLayer::colorSetupClosed @ 0x983da4", "CustomizeObjectLayer::onNextColorChannel @ 0x983e40", "CustomizeObjectLayer::onPaste @ 0x983eec", "CustomizeObjectLayer::onSelectMode @ 0x9841e0", "CustomizeObjectLayer::textChanged @ 0x984a58", "<???> @ 0x916d8"], "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"}