{"type": "func", "start": 4299290828, "end": 4299290956, "name": "ColorSelectPopup::updateOpacity", "pseudocode": "// \n// ColorSelectPopup::updateOpacity from 0x10041f8cc to 0x10041f94c (128 bytes)\n// \n// 2 xrefs:\n// > ColorSelectPopup::sliderChanged @ 0x10041e86c\n// > ColorSelectPopup::onDefault @ 0x10041eaec\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::updateOpacity(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_opacity = a1->m_opacity;\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          *(float *)(sub_10024A388((__int64)a1->m_gameObjects, v4++) + 1456) = a1->m_opacity;\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_fromOpacity = a1->m_opacity;\n    }\n  }\n}", "assembly": "; \n; ColorSelectPopup::updateOpacity from 0x10041f8cc to 0x10041f94c (128 bytes)\n; \n; 2 xrefs:\n; > ColorSelectPopup::sliderChanged @ 0x10041e86c\n; > ColorSelectPopup::onDefault @ 0x10041eaec\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, 0x10041f8cc\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x10041f8d0\nADD             X29, SP, #0x10                                         ; +0x8, 0x10041f8d4\nMOV             X19, X0                                                ; +0xc, 0x10041f8d8\nLDR             X8, [X0,#0x290]                                        ; +0x10, 0x10041f8dc\nCBZ             X8, loc_10041F8F8                                      ; +0x14, 0x10041f8e0\nLDR             S0, [X19,#0x42C]                                       ; +0x18, 0x10041f8e4\nSTR             S0, [X8,#0x5B0]                                        ; +0x1c, 0x10041f8e8\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x20, 0x10041f8ec\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x24, 0x10041f8f0\nRET                                                                    ; +0x28, 0x10041f8f4\nLDR             X0, [X19,#0x298]                                       ; +0x2c, 0x10041f8f8\nCBZ             X0, loc_10041F938                                      ; +0x30, 0x10041f8fc\nBL              sub_10024A36C                                          ; +0x34, 0x10041f900\nCBZ             W0, loc_10041F8EC                                      ; +0x38, 0x10041f904\nMOV             W20, #0                                                ; +0x3c, 0x10041f908\nLDR             X0, [X19,#0x298]                                       ; +0x40, 0x10041f90c\nMOV             X1, X20                                                ; +0x44, 0x10041f910\nBL              sub_10024A388                                          ; +0x48, 0x10041f914\nLDR             S0, [X19,#0x42C]                                       ; +0x4c, 0x10041f918\nSTR             S0, [X0,#0x5B0]                                        ; +0x50, 0x10041f91c\nADD             W20, W20, #1                                           ; +0x54, 0x10041f920\nLDR             X0, [X19,#0x298]                                       ; +0x58, 0x10041f924\nBL              sub_10024A36C                                          ; +0x5c, 0x10041f928\nCMP             W20, W0                                                ; +0x60, 0x10041f92c\nB.CC            loc_10041F90C                                          ; +0x64, 0x10041f930\nB               loc_10041F8EC                                          ; +0x68, 0x10041f934\nLDR             X8, [X19,#0x430]                                       ; +0x6c, 0x10041f938\nCBZ             X8, loc_10041F8EC                                      ; +0x70, 0x10041f93c\nLDR             S0, [X19,#0x42C]                                       ; +0x74, 0x10041f940\nSTR             S0, [X8,#0x60]                                         ; +0x78, 0x10041f944\nB               loc_10041F8EC                                          ; +0x7c, 0x10041f948", "xrefs": ["ColorSelectPopup::sliderChanged @ 0x10041e86c", "ColorSelectPopup::onDefault @ 0x10041eaec"], "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"}