{"type": "func", "start": 5107356, "end": 5107424, "name": "ColorSelectPopup::updateDuration", "pseudocode": "// \n// ColorSelectPopup::updateDuration from 0x4dee9c to 0x4deee0 (68 bytes)\n// \n// 2 xrefs:\n// > ColorSelectPopup::sliderChanged @ 0x4df66a\n// > ColorSelectPopup::textChanged @ 0x4e2242\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:50:59 +0000\n// \n\n_DWORD *__fastcall ColorSelectPopup::updateDuration(_DWORD *this)\n{\n  _DWORD *v1; // r5\n  unsigned int v2; // r4\n  int v3; // r0\n\n  v1 = this;\n  v2 = *(this + 132);\n  if ( v2 )\n  {\n    *(_DWORD *)(v2 + 1272) = *(this + 192);\n  }\n  else if ( *(this + 133) )\n  {\n    while ( 1 )\n    {\n      this = (_DWORD *)cocos2d::CCArray::count((cocos2d::CCArray *)v1[133]);\n      if ( v2 >= (unsigned int)this )\n        break;\n      v3 = cocos2d::CCArray::objectAtIndex((cocos2d::CCArray *)v1[133], v2++);\n      *(_DWORD *)(v3 + 1272) = v1[192];\n    }\n  }\n  return this;\n}", "assembly": "; \n; ColorSelectPopup::updateDuration from 0x4dee9c to 0x4deee0 (68 bytes)\n; \n; 2 xrefs:\n; > ColorSelectPopup::sliderChanged @ 0x4df66a\n; > ColorSelectPopup::textChanged @ 0x4e2242\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:50:59 +0000\n; \nPUSH            {R3-R5,LR}                                             ; +0x0, 0x4dee9c\nMOV             R5, R0                                                 ; +0x2, 0x4dee9e\nLDR.W           R4, [R0,#0x210]                                        ; +0x4, 0x4deea0\nCBZ             R4, loc_4DEEB2                                         ; +0x8, 0x4deea4\nLDR.W           R3, [R0,#0x300]                                        ; +0xa, 0x4deea6\nADD.W           R4, R4, #0x4F8                                         ; +0xe, 0x4deeaa\nSTR             R3, [R4]                                               ; +0x12, 0x4deeae\nPOP             {R3-R5,PC}                                             ; +0x14, 0x4deeb0\nLDR.W           R3, [R0,#0x214]                                        ; +0x16, 0x4deeb2\nCBNZ            R3, loc_4DEEBA                                         ; +0x1a, 0x4deeb6\nPOP             {R3-R5,PC}                                             ; +0x1c, 0x4deeb8\nLDR.W           R0, [R5,#0x214]; this                                  ; +0x1e, 0x4deeba\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x22, 0x4deebe\nCMP             R4, R0                                                 ; +0x26, 0x4deec2\nBCS             locret_4DEEDE                                          ; +0x28, 0x4deec4\nMOV             R1, R4; unsigned int                                   ; +0x2a, 0x4deec6\nLDR.W           R0, [R5,#0x214]; this                                  ; +0x2c, 0x4deec8\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x30, 0x4deecc\nLDR.W           R3, [R5,#0x300]                                        ; +0x34, 0x4deed0\nADDS            R4, #1                                                 ; +0x38, 0x4deed4\nADD.W           R0, R0, #0x4F8                                         ; +0x3a, 0x4deed6\nSTR             R3, [R0]                                               ; +0x3e, 0x4deeda\nB               loc_4DEEBA                                             ; +0x40, 0x4deedc\nPOP             {R3-R5,PC}                                             ; +0x42, 0x4deede", "xrefs": ["ColorSelectPopup::sliderChanged @ 0x4df66a", "ColorSelectPopup::textChanged @ 0x4e2242"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}