{"type": "func", "start": 7585676, "end": 7585792, "name": "ColorSelectPopup::updateDuration", "pseudocode": "// \n// ColorSelectPopup::updateDuration from 0x73bf8c to 0x73c000 (116 bytes)\n// \n// 3 xrefs:\n// > ColorSelectPopup::sliderChanged @ 0x73c2ac\n// > ColorSelectPopup::textChanged @ 0x742240\n// > <???> @ 0x95610\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 ColorSelectPopup::updateDuration(ColorSelectPopup *a1)\n{\n  EffectGameObject *m_gameObject; // x1\n  cocos2d::CCArray *m_gameObjects; // x1\n  unsigned int v4; // w20\n  __int64 v5; // x0\n  bool v6; // cf\n  unsigned int v7; // w1\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 )\n    {\n      v4 = 0;\n      while ( 1 )\n      {\n        v6 = v4 >= (unsigned int)cocos2d::CCArray::count(m_gameObjects);\n        v7 = v4++;\n        if ( v6 )\n          break;\n        v5 = cocos2d::CCArray::objectAtIndex(a1->m_gameObjects, v7);\n        m_gameObjects = a1->m_gameObjects;\n        *(float *)(v5 + 1436) = a1->m_fadeTime;\n      }\n    }\n  }\n}", "assembly": "; \n; ColorSelectPopup::updateDuration from 0x73bf8c to 0x73c000 (116 bytes)\n; \n; 3 xrefs:\n; > ColorSelectPopup::sliderChanged @ 0x73c2ac\n; > ColorSelectPopup::textChanged @ 0x742240\n; > <???> @ 0x95610\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             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0x73bf8c\nMOV             X29, SP                                                ; +0x4, 0x73bf90\nLDR             X1, [X0,#0x290]                                        ; +0x8, 0x73bf94\nSTP             X19, X20, [SP,#var_s10]                                ; +0xc, 0x73bf98\nCBZ             X1, loc_73BFB4                                         ; +0x10, 0x73bf9c\nLDR             W0, [X0,#0x438]                                        ; +0x14, 0x73bfa0\nSTR             W0, [X1,#0x59C]                                        ; +0x18, 0x73bfa4\nLDP             X19, X20, [SP,#var_s10]                                ; +0x1c, 0x73bfa8\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x20, 0x73bfac\nRET                                                                    ; +0x24, 0x73bfb0\nLDR             X1, [X0,#0x298]                                        ; +0x28, 0x73bfb4\nCBZ             X1, loc_73BFA8                                         ; +0x2c, 0x73bfb8\nMOV             X19, X0                                                ; +0x30, 0x73bfbc\nMOV             W20, #0                                                ; +0x34, 0x73bfc0\nB               loc_73BFDC                                             ; +0x38, 0x73bfc4\nLDR             X0, [X19,#0x298]; this                                 ; +0x3c, 0x73bfc8\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x40, 0x73bfcc\nLDR             W2, [X19,#0x438]                                       ; +0x44, 0x73bfd0\nLDR             X1, [X19,#0x298]                                       ; +0x48, 0x73bfd4\nSTR             W2, [X0,#0x59C]                                        ; +0x4c, 0x73bfd8\nMOV             X0, X1; this                                           ; +0x50, 0x73bfdc\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x54, 0x73bfe0\nCMP             W20, W0                                                ; +0x58, 0x73bfe4\nMOV             W1, W20; unsigned int                                  ; +0x5c, 0x73bfe8\nADD             W20, W20, #1                                           ; +0x60, 0x73bfec\nB.CC            loc_73BFC8                                             ; +0x64, 0x73bff0\nLDP             X19, X20, [SP,#var_s10]                                ; +0x68, 0x73bff4\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x6c, 0x73bff8\nRET                                                                    ; +0x70, 0x73bffc", "xrefs": ["ColorSelectPopup::sliderChanged @ 0x73c2ac", "ColorSelectPopup::textChanged @ 0x742240", "<???> @ 0x95610"], "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"}