{"type": "func", "start": 4299290956, "end": 4299291064, "name": "ColorSelectPopup::updateDuration", "pseudocode": "// \n// ColorSelectPopup::updateDuration from 0x10041f94c to 0x10041f9b8 (108 bytes)\n// \n// 2 xrefs:\n// > ColorSelectPopup::sliderChanged @ 0x10041e7ec\n// > ColorSelectPopup::textChanged @ 0x1004207a4\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::updateDuration(ColorSelectPopup *a1)\n{\n  EffectGameObject *m_gameObject; // x8\n  cocos2d::CCArray *m_gameObjects; // x0\n  unsigned int v4; // w20\n\n  m_gameObject = a1->m_gameObject;\n  if ( m_gameObject )\n  {\n    m_gameObject->m_duration = a1->m_fadeTime;\n  }\n  else\n  {\n    m_gameObjects = a1->m_gameObjects;\n    if ( m_gameObjects && (unsigned int)sub_10024A36C((__int64)m_gameObjects) )\n    {\n      v4 = 0;\n      do\n        *(float *)(sub_10024A388((__int64)a1->m_gameObjects, v4++) + 1452) = a1->m_fadeTime;\n      while ( v4 < (unsigned int)sub_10024A36C((__int64)a1->m_gameObjects) );\n    }\n  }\n}", "assembly": "; \n; ColorSelectPopup::updateDuration from 0x10041f94c to 0x10041f9b8 (108 bytes)\n; \n; 2 xrefs:\n; > ColorSelectPopup::sliderChanged @ 0x10041e7ec\n; > ColorSelectPopup::textChanged @ 0x1004207a4\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, 0x10041f94c\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x10041f950\nADD             X29, SP, #0x10                                         ; +0x8, 0x10041f954\nMOV             X19, X0                                                ; +0xc, 0x10041f958\nLDR             X8, [X0,#0x290]                                        ; +0x10, 0x10041f95c\nCBZ             X8, loc_10041F978                                      ; +0x14, 0x10041f960\nLDR             S0, [X19,#0x420]                                       ; +0x18, 0x10041f964\nSTR             S0, [X8,#0x5AC]                                        ; +0x1c, 0x10041f968\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x20, 0x10041f96c\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x24, 0x10041f970\nRET                                                                    ; +0x28, 0x10041f974\nLDR             X0, [X19,#0x298]                                       ; +0x2c, 0x10041f978\nCBZ             X0, loc_10041F96C                                      ; +0x30, 0x10041f97c\nBL              sub_10024A36C                                          ; +0x34, 0x10041f980\nCBZ             W0, loc_10041F96C                                      ; +0x38, 0x10041f984\nMOV             W20, #0                                                ; +0x3c, 0x10041f988\nLDR             X0, [X19,#0x298]                                       ; +0x40, 0x10041f98c\nMOV             X1, X20                                                ; +0x44, 0x10041f990\nBL              sub_10024A388                                          ; +0x48, 0x10041f994\nLDR             S0, [X19,#0x420]                                       ; +0x4c, 0x10041f998\nSTR             S0, [X0,#0x5AC]                                        ; +0x50, 0x10041f99c\nADD             W20, W20, #1                                           ; +0x54, 0x10041f9a0\nLDR             X0, [X19,#0x298]                                       ; +0x58, 0x10041f9a4\nBL              sub_10024A36C                                          ; +0x5c, 0x10041f9a8\nCMP             W20, W0                                                ; +0x60, 0x10041f9ac\nB.CC            loc_10041F98C                                          ; +0x64, 0x10041f9b0\nB               loc_10041F96C                                          ; +0x68, 0x10041f9b4", "xrefs": ["ColorSelectPopup::sliderChanged @ 0x10041e7ec", "ColorSelectPopup::textChanged @ 0x1004207a4"], "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"}