{"type": "func", "start": 4299291064, "end": 4299291200, "name": "ColorSelectPopup::updateHSVValue", "pseudocode": "// \n// ColorSelectPopup::updateHSVValue from 0x10041f9b8 to 0x10041fa40 (136 bytes)\n// \n// 1 xrefs:\n// > ColorSelectPopup::closeColorSelect @ 0x10041e73c\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 ColorSelectPopup::updateHSVValue(ColorSelectPopup *a1)\n{\n  EffectGameObject *m_gameObject; // x8\n  cocos2d::CCArray *m_gameObjects; // x0\n  unsigned int v4; // w20\n  ColorAction *m_colorAction; // x8\n\n  m_gameObject = a1->m_gameObject;\n  if ( m_gameObject )\n  {\n    m_gameObject->m_hsvValue = a1->m_hsv;\n  }\n  else\n  {\n    m_gameObjects = a1->m_gameObjects;\n    if ( m_gameObjects )\n    {\n      if ( (unsigned int)sub_10024A36C((__int64)m_gameObjects) )\n      {\n        v4 = 0;\n        do\n          *(cocos2d::ccHSVValue *)(sub_10024A388((__int64)a1->m_gameObjects, v4++) + 1612) = a1->m_hsv;\n        while ( v4 < (unsigned int)sub_10024A36C((__int64)a1->m_gameObjects) );\n      }\n    }\n    else\n    {\n      m_colorAction = a1->m_colorAction;\n      if ( m_colorAction )\n        m_colorAction->m_copyHSV = a1->m_hsv;\n    }\n  }\n}", "assembly": "; \n; ColorSelectPopup::updateHSVValue from 0x10041f9b8 to 0x10041fa40 (136 bytes)\n; \n; 1 xrefs:\n; > ColorSelectPopup::closeColorSelect @ 0x10041e73c\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\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x10041f9b8\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x10041f9bc\nADD             X29, SP, #0x10                                         ; +0x8, 0x10041f9c0\nMOV             X19, X0                                                ; +0xc, 0x10041f9c4\nLDR             X8, [X0,#0x290]                                        ; +0x10, 0x10041f9c8\nCBZ             X8, loc_10041F9E8                                      ; +0x14, 0x10041f9cc\nADD             X8, X8, #0x64C                                         ; +0x18, 0x10041f9d0\nLDR             Q0, [X19,#0x460]                                       ; +0x1c, 0x10041f9d4\nSTR             Q0, [X8]                                               ; +0x20, 0x10041f9d8\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x24, 0x10041f9dc\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x28, 0x10041f9e0\nRET                                                                    ; +0x2c, 0x10041f9e4\nLDR             X0, [X19,#0x298]                                       ; +0x30, 0x10041f9e8\nCBZ             X0, loc_10041FA2C                                      ; +0x34, 0x10041f9ec\nBL              sub_10024A36C                                          ; +0x38, 0x10041f9f0\nCBZ             W0, loc_10041F9DC                                      ; +0x3c, 0x10041f9f4\nMOV             W20, #0                                                ; +0x40, 0x10041f9f8\nLDR             X0, [X19,#0x298]                                       ; +0x44, 0x10041f9fc\nMOV             X1, X20                                                ; +0x48, 0x10041fa00\nBL              sub_10024A388                                          ; +0x4c, 0x10041fa04\nADD             X8, X0, #0x64C                                         ; +0x50, 0x10041fa08\nLDR             Q0, [X19,#0x460]                                       ; +0x54, 0x10041fa0c\nSTR             Q0, [X8]                                               ; +0x58, 0x10041fa10\nADD             W20, W20, #1                                           ; +0x5c, 0x10041fa14\nLDR             X0, [X19,#0x298]                                       ; +0x60, 0x10041fa18\nBL              sub_10024A36C                                          ; +0x64, 0x10041fa1c\nCMP             W20, W0                                                ; +0x68, 0x10041fa20\nB.CC            loc_10041F9FC                                          ; +0x6c, 0x10041fa24\nB               loc_10041F9DC                                          ; +0x70, 0x10041fa28\nLDR             X8, [X19,#0x430]                                       ; +0x74, 0x10041fa2c\nCBZ             X8, loc_10041F9DC                                      ; +0x78, 0x10041fa30\nLDR             Q0, [X19,#0x460]                                       ; +0x7c, 0x10041fa34\nSTUR            Q0, [X8,#0x68]                                         ; +0x80, 0x10041fa38\nB               loc_10041F9DC                                          ; +0x84, 0x10041fa3c", "xrefs": ["ColorSelectPopup::closeColorSelect @ 0x10041e73c"], "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"}