{"type": "func", "start": 5373148768, "end": 5373148905, "name": "SetupPulsePopup::updateHoldTime", "pseudocode": "// \n// SetupPulsePopup::updateHoldTime from 0x14043be60 to 0x14043bee9 (137 bytes)\n// \n// 5 xrefs:\n// > SetupPulsePopup::sliderChanged @ 0x14043bc9d\n// > SetupPulsePopup::textChanged @ 0x14043c7f6\n// > <???> @ 0x1406a1ad4\n// > <???> @ 0x1406a1ae4\n// > <???> @ 0x1406da004\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 SetupPulsePopup::updateHoldTime(SetupPulsePopup *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_holdDuration = a1->m_holdTime;\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[28].m_nZOrder = LODWORD(a1->m_holdTime);\n        }\n        while ( v4 < cocos2d::CCArray::count(a1->m_gameObjects) );\n      }\n    }\n  }\n}", "assembly": "; \n; SetupPulsePopup::updateHoldTime from 0x14043be60 to 0x14043bee9 (137 bytes)\n; \n; 5 xrefs:\n; > SetupPulsePopup::sliderChanged @ 0x14043bc9d\n; > SetupPulsePopup::textChanged @ 0x14043c7f6\n; > <???> @ 0x1406a1ad4\n; > <???> @ 0x1406a1ae4\n; > <???> @ 0x1406da004\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, 0x14043be60\nsub     rsp, 20h                                                       ; +0x2, 0x14043be62\nmov     rbx, rcx                                                       ; +0x6, 0x14043be66\nmov     rcx, [rcx+290h]                                                ; +0x9, 0x14043be69\ntest    rcx, rcx                                                       ; +0x10, 0x14043be70\njz      short loc_14043BE87                                            ; +0x13, 0x14043be73\nmov     eax, [rbx+4B4h]                                                ; +0x15, 0x14043be75\nmov     [rcx+64Ch], eax                                                ; +0x1b, 0x14043be7b\nadd     rsp, 20h                                                       ; +0x21, 0x14043be81\npop     rbx                                                            ; +0x25, 0x14043be85\nretn                                                                   ; +0x26, 0x14043be86\nmov     rcx, [rbx+298h]                                                ; +0x27, 0x14043be87\ntest    rcx, rcx                                                       ; +0x2e, 0x14043be8e\njz      short loc_14043BEE3                                            ; +0x31, 0x14043be91\nmov     [rsp+28h+arg_0], rdi                                           ; +0x33, 0x14043be93\nxor     edi, edi                                                       ; +0x38, 0x14043be98\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x3a, 0x14043be9a\ntest    eax, eax                                                       ; +0x40, 0x14043bea0\njz      short loc_14043BEDE                                            ; +0x42, 0x14043bea2\nnop     dword ptr [rax+00h]                                            ; +0x44, 0x14043bea4\nnop     dword ptr [rax+rax+00000000h]                                  ; +0x48, 0x14043bea8\nmov     rcx, [rbx+298h]                                                ; +0x50, 0x14043beb0\nmov     edx, edi                                                       ; +0x57, 0x14043beb7\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x59, 0x14043beb9\nmov     ecx, [rbx+4B4h]                                                ; +0x5f, 0x14043bebf\ninc     edi                                                            ; +0x65, 0x14043bec5\nmov     [rax+64Ch], ecx                                                ; +0x67, 0x14043bec7\nmov     rcx, [rbx+298h]                                                ; +0x6d, 0x14043becd\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x74, 0x14043bed4\ncmp     edi, eax                                                       ; +0x7a, 0x14043beda\njb      short loc_14043BEB0                                            ; +0x7c, 0x14043bedc\nmov     rdi, [rsp+28h+arg_0]                                           ; +0x7e, 0x14043bede\nadd     rsp, 20h                                                       ; +0x83, 0x14043bee3\npop     rbx                                                            ; +0x87, 0x14043bee7\nretn                                                                   ; +0x88, 0x14043bee8", "xrefs": ["SetupPulsePopup::sliderChanged @ 0x14043bc9d", "SetupPulsePopup::textChanged @ 0x14043c7f6", "<???> @ 0x1406a1ad4", "<???> @ 0x1406a1ae4", "<???> @ 0x1406da004"], "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"}