{"type": "func", "start": 9977140, "end": 9977256, "name": "CustomizeObjectLayer::colorSetupClosed", "pseudocode": "// \n// CustomizeObjectLayer::colorSetupClosed from 0x983d34 to 0x983da8 (116 bytes)\n// \n// 3 xrefs:\n// > `non-virtual thunk to'CustomizeObjectLayer::colorSetupClosed @ 0x983dac\n// > <???> @ 0x4bc70\n// > <???> @ 0x1471a08\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::colorSetupClosed(CustomizeObjectLayer *this, unsigned int a2)\n{\n  int v4; // w1\n  ButtonSprite *ButtonByTag; // x0\n\n  CustomizeObjectLayer::updateSelected(this, a2);\n  v4 = a2;\n  if ( a2 - 10 <= 0x3DD )\n  {\n    *((_DWORD *)this + 187) = a2;\n    *((_BYTE *)this + 922) = 1;\n    CustomizeObjectLayer::updateCustomColorLabels((ButtonSprite **)this);\n    *((_BYTE *)this + 922) = 0;\n    v4 = 1008;\n  }\n  ButtonByTag = (ButtonSprite *)CustomizeObjectLayer::getButtonByTag((cocos2d::CCArray **)this, v4);\n  CustomizeObjectLayer::highlightSelected((cocos2d::CCArray **)this, ButtonByTag);\n  CustomizeObjectLayer::updateColorSprite(this);\n  return CustomizeObjectLayer::updateChannelLabel(this, (GJSpecialColorSelect *)a2);\n}", "assembly": "; \n; CustomizeObjectLayer::colorSetupClosed from 0x983d34 to 0x983da8 (116 bytes)\n; \n; 3 xrefs:\n; > `non-virtual thunk to'CustomizeObjectLayer::colorSetupClosed @ 0x983dac\n; > <???> @ 0x4bc70\n; > <???> @ 0x1471a08\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,#-0x20+var_s0]!                          ; +0x0, 0x983d34\nMOV             X29, SP                                                ; +0x4, 0x983d38\nSTP             X19, X20, [SP,#var_s10]                                ; +0x8, 0x983d3c\nMOV             W20, W1                                                ; +0xc, 0x983d40\nMOV             X19, X0                                                ; +0x10, 0x983d44\nBL              _ZN20CustomizeObjectLayer14updateSelectedEi; CustomizeObjectLayer::updateSelected(int) ; +0x14, 0x983d48\nSUB             W0, W20, #0xA                                          ; +0x18, 0x983d4c\nMOV             W1, W20                                                ; +0x1c, 0x983d50\nCMP             W0, #0x3DD                                             ; +0x20, 0x983d54\nB.HI            loc_983D78                                             ; +0x24, 0x983d58\nMOV             W1, #1                                                 ; +0x28, 0x983d5c\nSTR             W20, [X19,#0x2EC]                                      ; +0x2c, 0x983d60\nSTRB            W1, [X19,#0x39A]                                       ; +0x30, 0x983d64\nMOV             X0, X19; this                                          ; +0x34, 0x983d68\nBL              _ZN20CustomizeObjectLayer23updateCustomColorLabelsEv; CustomizeObjectLayer::updateCustomColorLabels(void) ; +0x38, 0x983d6c\nSTRB            WZR, [X19,#0x39A]                                      ; +0x3c, 0x983d70\nMOV             W1, #0x3F0; int                                        ; +0x40, 0x983d74\nMOV             X0, X19; this                                          ; +0x44, 0x983d78\nBL              _ZN20CustomizeObjectLayer14getButtonByTagEi; CustomizeObjectLayer::getButtonByTag(int) ; +0x48, 0x983d7c\nMOV             X1, X0; ButtonSprite *                                 ; +0x4c, 0x983d80\nMOV             X0, X19; this                                          ; +0x50, 0x983d84\nBL              _ZN20CustomizeObjectLayer17highlightSelectedEP12ButtonSprite; CustomizeObjectLayer::highlightSelected(ButtonSprite *) ; +0x54, 0x983d88\nMOV             X0, X19; this                                          ; +0x58, 0x983d8c\nBL              _ZN20CustomizeObjectLayer17updateColorSpriteEv; CustomizeObjectLayer::updateColorSprite(void) ; +0x5c, 0x983d90\nMOV             X0, X19; this                                          ; +0x60, 0x983d94\nMOV             W1, W20; GJSpecialColorSelect *                        ; +0x64, 0x983d98\nLDP             X19, X20, [SP,#var_s10]                                ; +0x68, 0x983d9c\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x6c, 0x983da0\nB               _ZN20CustomizeObjectLayer18updateChannelLabelEi; CustomizeObjectLayer::updateChannelLabel(int) ; +0x70, 0x983da4", "xrefs": ["`non-virtual thunk to'CustomizeObjectLayer::colorSetupClosed @ 0x983dac", "<???> @ 0x4bc70", "<???> @ 0x1471a08"], "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"}