{"type": "func", "start": 8792468, "end": 8792580, "name": "ColorSelectPopup::updateDuration", "pseudocode": "// \n// ColorSelectPopup::updateDuration from 0x862994 to 0x862a04 (112 bytes)\n// \n// 3 xrefs:\n// > ColorSelectPopup::sliderChanged @ 0x862d08\n// > ColorSelectPopup::textChanged @ 0x867c8c\n// > <???> @ 0xc55d8\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:55:37 +0000\n// \n\ncocos2d::CCArray *__fastcall ColorSelectPopup::updateDuration(ColorSelectPopup *this)\n{\n  cocos2d::CCArray *result; // x0\n  unsigned int v3; // w20\n  bool v4; // cf\n  unsigned int v5; // w1\n\n  result = *((cocos2d::CCArray **)this + 85);\n  if ( result )\n  {\n    *((_DWORD *)result + 363) = *((_DWORD *)this + 282);\n  }\n  else\n  {\n    result = *((cocos2d::CCArray **)this + 86);\n    if ( result )\n    {\n      v3 = 0;\n      while ( 1 )\n      {\n        result = (cocos2d::CCArray *)cocos2d::CCArray::count(result);\n        v4 = v3 >= (unsigned int)result;\n        v5 = v3++;\n        if ( v4 )\n          break;\n        *(_DWORD *)(cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 86), v5) + 1452) = *((_DWORD *)this + 282);\n        result = *((cocos2d::CCArray **)this + 86);\n      }\n    }\n  }\n  return result;\n}", "assembly": "; \n; ColorSelectPopup::updateDuration from 0x862994 to 0x862a04 (112 bytes)\n; \n; 3 xrefs:\n; > ColorSelectPopup::sliderChanged @ 0x862d08\n; > ColorSelectPopup::textChanged @ 0x867c8c\n; > <???> @ 0xc55d8\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:55:37 +0000\n; \nSTP             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0x862994\nMOV             X29, SP                                                ; +0x4, 0x862998\nSTP             X19, X20, [SP,#var_s10]                                ; +0x8, 0x86299c\nMOV             X19, X0                                                ; +0xc, 0x8629a0\nLDR             X0, [X0,#0x2A8]                                        ; +0x10, 0x8629a4\nCBZ             X0, loc_8629C0                                         ; +0x14, 0x8629a8\nLDR             W1, [X19,#0x468]                                       ; +0x18, 0x8629ac\nSTR             W1, [X0,#0x5AC]                                        ; +0x1c, 0x8629b0\nLDP             X19, X20, [SP,#var_s10]                                ; +0x20, 0x8629b4\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x24, 0x8629b8\nRET                                                                    ; +0x28, 0x8629bc\nLDR             X0, [X19,#0x2B0]                                       ; +0x2c, 0x8629c0\nCBZ             X0, loc_8629B4                                         ; +0x30, 0x8629c4\nMOV             W20, #0                                                ; +0x34, 0x8629c8\nB               loc_8629E4                                             ; +0x38, 0x8629cc\nLDR             X0, [X19,#0x2B0]; this                                 ; +0x3c, 0x8629d0\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x40, 0x8629d4\nLDR             W1, [X19,#0x468]                                       ; +0x44, 0x8629d8\nSTR             W1, [X0,#0x5AC]                                        ; +0x48, 0x8629dc\nLDR             X0, [X19,#0x2B0]; this                                 ; +0x4c, 0x8629e0\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x50, 0x8629e4\nCMP             W20, W0                                                ; +0x54, 0x8629e8\nMOV             W1, W20; unsigned int                                  ; +0x58, 0x8629ec\nADD             W20, W20, #1                                           ; +0x5c, 0x8629f0\nB.CC            loc_8629D0                                             ; +0x60, 0x8629f4\nLDP             X19, X20, [SP,#var_s10]                                ; +0x64, 0x8629f8\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x68, 0x8629fc\nRET                                                                    ; +0x6c, 0x862a00", "xrefs": ["ColorSelectPopup::sliderChanged @ 0x862d08", "ColorSelectPopup::textChanged @ 0x867c8c", "<???> @ 0xc55d8"], "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"}