{"type": "func", "start": 5369303776, "end": 5369303913, "name": "ColorSelectPopup::updateDuration", "pseudocode": "// \n// ColorSelectPopup::updateDuration from 0x1400912e0 to 0x140091369 (137 bytes)\n// \n// 5 xrefs:\n// > ColorSelectPopup::sliderChanged @ 0x140091231\n// > ColorSelectPopup::textChanged @ 0x140093063\n// > <???> @ 0x140669374\n// > <???> @ 0x140669384\n// > <???> @ 0x1406c6fcc\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; // rcx\n  cocos2d::CCArray *m_gameObjects; // rcx\n  unsigned int v4; // edi\n  struct cocos2d::CCObject *v5; // rax\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      if ( cocos2d::CCArray::count(m_gameObjects) )\n      {\n        do\n        {\n          v5 = cocos2d::CCArray::objectAtIndex(a1->m_gameObjects, v4++);\n          v5[26].m_nLuaID = LODWORD(a1->m_fadeTime);\n        }\n        while ( v4 < cocos2d::CCArray::count(a1->m_gameObjects) );\n      }\n    }\n  }\n}", "assembly": "; \n; ColorSelectPopup::updateDuration from 0x1400912e0 to 0x140091369 (137 bytes)\n; \n; 5 xrefs:\n; > ColorSelectPopup::sliderChanged @ 0x140091231\n; > ColorSelectPopup::textChanged @ 0x140093063\n; > <???> @ 0x140669374\n; > <???> @ 0x140669384\n; > <???> @ 0x1406c6fcc\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\npush    rbx                                                            ; +0x0, 0x1400912e0\nsub     rsp, 20h                                                       ; +0x2, 0x1400912e2\nmov     rbx, rcx                                                       ; +0x6, 0x1400912e6\nmov     rcx, [rcx+290h]                                                ; +0x9, 0x1400912e9\ntest    rcx, rcx                                                       ; +0x10, 0x1400912f0\njz      short loc_140091307                                            ; +0x13, 0x1400912f3\nmov     eax, [rbx+418h]                                                ; +0x15, 0x1400912f5\nmov     [rcx+5BCh], eax                                                ; +0x1b, 0x1400912fb\nadd     rsp, 20h                                                       ; +0x21, 0x140091301\npop     rbx                                                            ; +0x25, 0x140091305\nretn                                                                   ; +0x26, 0x140091306\nmov     rcx, [rbx+298h]                                                ; +0x27, 0x140091307\ntest    rcx, rcx                                                       ; +0x2e, 0x14009130e\njz      short loc_140091363                                            ; +0x31, 0x140091311\nmov     [rsp+28h+arg_0], rdi                                           ; +0x33, 0x140091313\nxor     edi, edi                                                       ; +0x38, 0x140091318\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x3a, 0x14009131a\ntest    eax, eax                                                       ; +0x40, 0x140091320\njz      short loc_14009135E                                            ; +0x42, 0x140091322\nnop     dword ptr [rax+00h]                                            ; +0x44, 0x140091324\nnop     dword ptr [rax+rax+00000000h]                                  ; +0x48, 0x140091328\nmov     rcx, [rbx+298h]                                                ; +0x50, 0x140091330\nmov     edx, edi                                                       ; +0x57, 0x140091337\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x59, 0x140091339\nmov     ecx, [rbx+418h]                                                ; +0x5f, 0x14009133f\ninc     edi                                                            ; +0x65, 0x140091345\nmov     [rax+5BCh], ecx                                                ; +0x67, 0x140091347\nmov     rcx, [rbx+298h]                                                ; +0x6d, 0x14009134d\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x74, 0x140091354\ncmp     edi, eax                                                       ; +0x7a, 0x14009135a\njb      short loc_140091330                                            ; +0x7c, 0x14009135c\nmov     rdi, [rsp+28h+arg_0]                                           ; +0x7e, 0x14009135e\nadd     rsp, 20h                                                       ; +0x83, 0x140091363\npop     rbx                                                            ; +0x87, 0x140091367\nretn                                                                   ; +0x88, 0x140091368", "xrefs": ["ColorSelectPopup::sliderChanged @ 0x140091231", "ColorSelectPopup::textChanged @ 0x140093063", "<???> @ 0x140669374", "<???> @ 0x140669384", "<???> @ 0x1406c6fcc"], "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"}