{"type": "func", "start": 5373082576, "end": 5373082713, "name": "SetupOpacityPopup::updateDuration", "pseudocode": "// \n// SetupOpacityPopup::updateDuration from 0x14042bbd0 to 0x14042bc59 (137 bytes)\n// \n// 5 xrefs:\n// > SetupOpacityPopup::sliderChanged @ 0x14042b72c\n// > SetupOpacityPopup::textChanged @ 0x14042b9b6\n// > <???> @ 0x1406a0fbc\n// > <???> @ 0x1406a0fcc\n// > <???> @ 0x1406d99ec\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 SetupOpacityPopup::updateDuration(SetupOpacityPopup *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; SetupOpacityPopup::updateDuration from 0x14042bbd0 to 0x14042bc59 (137 bytes)\n; \n; 5 xrefs:\n; > SetupOpacityPopup::sliderChanged @ 0x14042b72c\n; > SetupOpacityPopup::textChanged @ 0x14042b9b6\n; > <???> @ 0x1406a0fbc\n; > <???> @ 0x1406a0fcc\n; > <???> @ 0x1406d99ec\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, 0x14042bbd0\nsub     rsp, 20h                                                       ; +0x2, 0x14042bbd2\nmov     rbx, rcx                                                       ; +0x6, 0x14042bbd6\nmov     rcx, [rcx+290h]                                                ; +0x9, 0x14042bbd9\ntest    rcx, rcx                                                       ; +0x10, 0x14042bbe0\njz      short loc_14042BBF7                                            ; +0x13, 0x14042bbe3\nmov     eax, [rbx+3D4h]                                                ; +0x15, 0x14042bbe5\nmov     [rcx+5BCh], eax                                                ; +0x1b, 0x14042bbeb\nadd     rsp, 20h                                                       ; +0x21, 0x14042bbf1\npop     rbx                                                            ; +0x25, 0x14042bbf5\nretn                                                                   ; +0x26, 0x14042bbf6\nmov     rcx, [rbx+298h]                                                ; +0x27, 0x14042bbf7\ntest    rcx, rcx                                                       ; +0x2e, 0x14042bbfe\njz      short loc_14042BC53                                            ; +0x31, 0x14042bc01\nmov     [rsp+28h+arg_0], rdi                                           ; +0x33, 0x14042bc03\nxor     edi, edi                                                       ; +0x38, 0x14042bc08\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x3a, 0x14042bc0a\ntest    eax, eax                                                       ; +0x40, 0x14042bc10\njz      short loc_14042BC4E                                            ; +0x42, 0x14042bc12\nnop     dword ptr [rax+00h]                                            ; +0x44, 0x14042bc14\nnop     dword ptr [rax+rax+00000000h]                                  ; +0x48, 0x14042bc18\nmov     rcx, [rbx+298h]                                                ; +0x50, 0x14042bc20\nmov     edx, edi                                                       ; +0x57, 0x14042bc27\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x59, 0x14042bc29\nmov     ecx, [rbx+3D4h]                                                ; +0x5f, 0x14042bc2f\ninc     edi                                                            ; +0x65, 0x14042bc35\nmov     [rax+5BCh], ecx                                                ; +0x67, 0x14042bc37\nmov     rcx, [rbx+298h]                                                ; +0x6d, 0x14042bc3d\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x74, 0x14042bc44\ncmp     edi, eax                                                       ; +0x7a, 0x14042bc4a\njb      short loc_14042BC20                                            ; +0x7c, 0x14042bc4c\nmov     rdi, [rsp+28h+arg_0]                                           ; +0x7e, 0x14042bc4e\nadd     rsp, 20h                                                       ; +0x83, 0x14042bc53\npop     rbx                                                            ; +0x87, 0x14042bc57\nretn                                                                   ; +0x88, 0x14042bc58", "xrefs": ["SetupOpacityPopup::sliderChanged @ 0x14042b72c", "SetupOpacityPopup::textChanged @ 0x14042b9b6", "<???> @ 0x1406a0fbc", "<???> @ 0x1406a0fcc", "<???> @ 0x1406d99ec"], "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"}