{"type": "func", "start": 5369930256, "end": 5369930393, "name": "ColorSelectPopup::updateDuration", "pseudocode": "// \n// ColorSelectPopup::updateDuration from 0x14012a210 to 0x14012a299 (137 bytes)\n// \n// 5 xrefs:\n// > ColorSelectPopup::sliderChanged @ 0x14012a161\n// > ColorSelectPopup::textChanged @ 0x14012bf60\n// > <???> @ 0x140898570\n// > <???> @ 0x140898580\n// > <???> @ 0x140916b08\n// \n// This function is hookable on this platform (idp: pc, 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 11:27:00 +0000\n// \n\nvoid __fastcall ColorSelectPopup::updateDuration(__int64 a1)\n{\n  __int64 v2; // rcx\n  cocos2d::CCArray *v3; // rcx\n  unsigned int v4; // edi\n  struct cocos2d::CCObject *v5; // rax\n\n  v2 = *(_QWORD *)(a1 + 680);\n  if ( v2 )\n  {\n    *(_DWORD *)(v2 + 1468) = *(_DWORD *)(a1 + 1112);\n  }\n  else\n  {\n    v3 = *(cocos2d::CCArray **)(a1 + 688);\n    if ( v3 )\n    {\n      v4 = 0;\n      if ( cocos2d::CCArray::count(v3) )\n      {\n        do\n        {\n          v5 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 688), v4++);\n          *((_DWORD *)v5 + 367) = *(_DWORD *)(a1 + 1112);\n        }\n        while ( v4 < cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 688)) );\n      }\n    }\n  }\n}", "assembly": "; \n; ColorSelectPopup::updateDuration from 0x14012a210 to 0x14012a299 (137 bytes)\n; \n; 5 xrefs:\n; > ColorSelectPopup::sliderChanged @ 0x14012a161\n; > ColorSelectPopup::textChanged @ 0x14012bf60\n; > <???> @ 0x140898570\n; > <???> @ 0x140898580\n; > <???> @ 0x140916b08\n; \n; This function is hookable on this platform (idp: pc, 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 11:27:00 +0000\n; \npush    rbx                                                            ; +0x0, 0x14012a210\nsub     rsp, 20h                                                       ; +0x2, 0x14012a212\nmov     rbx, rcx                                                       ; +0x6, 0x14012a216\nmov     rcx, [rcx+2A8h]                                                ; +0x9, 0x14012a219\ntest    rcx, rcx                                                       ; +0x10, 0x14012a220\njz      short loc_14012A237                                            ; +0x13, 0x14012a223\nmov     eax, [rbx+458h]                                                ; +0x15, 0x14012a225\nmov     [rcx+5BCh], eax                                                ; +0x1b, 0x14012a22b\nadd     rsp, 20h                                                       ; +0x21, 0x14012a231\npop     rbx                                                            ; +0x25, 0x14012a235\nretn                                                                   ; +0x26, 0x14012a236\nmov     rcx, [rbx+2B0h]                                                ; +0x27, 0x14012a237\ntest    rcx, rcx                                                       ; +0x2e, 0x14012a23e\njz      short loc_14012A293                                            ; +0x31, 0x14012a241\nmov     [rsp+28h+arg_0], rdi                                           ; +0x33, 0x14012a243\nxor     edi, edi                                                       ; +0x38, 0x14012a248\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x3a, 0x14012a24a\ntest    eax, eax                                                       ; +0x40, 0x14012a250\njz      short loc_14012A28E                                            ; +0x42, 0x14012a252\nnop     dword ptr [rax+00h]                                            ; +0x44, 0x14012a254\nnop     dword ptr [rax+rax+00000000h]                                  ; +0x48, 0x14012a258\nmov     rcx, [rbx+2B0h]                                                ; +0x50, 0x14012a260\nmov     edx, edi                                                       ; +0x57, 0x14012a267\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x59, 0x14012a269\nmov     ecx, [rbx+458h]                                                ; +0x5f, 0x14012a26f\ninc     edi                                                            ; +0x65, 0x14012a275\nmov     [rax+5BCh], ecx                                                ; +0x67, 0x14012a277\nmov     rcx, [rbx+2B0h]                                                ; +0x6d, 0x14012a27d\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x74, 0x14012a284\ncmp     edi, eax                                                       ; +0x7a, 0x14012a28a\njb      short loc_14012A260                                            ; +0x7c, 0x14012a28c\nmov     rdi, [rsp+28h+arg_0]                                           ; +0x7e, 0x14012a28e\nadd     rsp, 20h                                                       ; +0x83, 0x14012a293\npop     rbx                                                            ; +0x87, 0x14012a297\nretn                                                                   ; +0x88, 0x14012a298", "xrefs": ["ColorSelectPopup::sliderChanged @ 0x14012a161", "ColorSelectPopup::textChanged @ 0x14012bf60", "<???> @ 0x140898570", "<???> @ 0x140898580", "<???> @ 0x140916b08"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}