{"type": "func", "start": 5373149536, "end": 5373149800, "name": "SetupPulsePopup::colorValueChanged", "pseudocode": "// \n// SetupPulsePopup::colorValueChanged from 0x14043c160 to 0x14043c268 (264 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x1405eb3b8\n// > <???> @ 0x1406a1b20\n// > <???> @ 0x1406a1b54\n// > <???> @ 0x1406da058\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::colorValueChanged(SetupPulsePopup *a1, cocos2d::ccColor3B *a2)\n{\n  __int64 v3; // rcx\n  __int64 v4; // rdx\n  Slider *m_holdSlider; // rcx\n  cocos2d::CCArray *m_fadeOutSlider; // rcx\n  unsigned int v7; // edi\n  struct cocos2d::CCObject *v8; // rax\n\n  v3 = *(_QWORD *)&a1->m_obAnchorPoint.y;\n  if ( v3 )\n  {\n    v4 = *(_QWORD *)&a1->m_nTag;\n    LOWORD(a1->m_sAdditionalTransform.b) = *(_WORD *)(v4 + 472);\n    BYTE2(a1->m_sAdditionalTransform.b) = *(_BYTE *)(v4 + 474);\n    (**(void (__fastcall ***)(__int64, float *))(v3 + 320))(v3 + 320, &a1->m_sAdditionalTransform.b);\n    (**(void (__fastcall ***)(__int64, float *))(*(_QWORD *)&a1->m_obContentSize.height + 320LL))(\n      *(_QWORD *)&a1->m_obContentSize.height + 320LL,\n      &a1->m_obAnchorPointInPoints.y);\n    if ( !BYTE4(a1->m_pScheduler) )\n    {\n      m_holdSlider = a1[-1].m_holdSlider;\n      if ( m_holdSlider )\n      {\n        *(_WORD *)((char *)&m_holdSlider[3].m_obAnchorPointInPoints.y + 1) = LOWORD(a1->m_sAdditionalTransform.b);\n        HIBYTE(m_holdSlider[3].m_obAnchorPointInPoints.y) = BYTE2(a1->m_sAdditionalTransform.b);\n      }\n      else\n      {\n        m_fadeOutSlider = (cocos2d::CCArray *)a1[-1].m_fadeOutSlider;\n        if ( m_fadeOutSlider )\n        {\n          v7 = 0;\n          if ( cocos2d::CCArray::count(m_fadeOutSlider) )\n          {\n            do\n            {\n              v8 = cocos2d::CCArray::objectAtIndex((cocos2d::CCArray *)a1[-1].m_fadeOutSlider, v7++);\n              *(_WORD *)((char *)&v8[26].m_uID + 1) = LOWORD(a1->m_sAdditionalTransform.b);\n              HIBYTE(v8[26].m_uID) = BYTE2(a1->m_sAdditionalTransform.b);\n            }\n            while ( v7 < cocos2d::CCArray::count((cocos2d::CCArray *)a1[-1].m_fadeOutSlider) );\n          }\n        }\n      }\n    }\n    SetupPulsePopup::updateColorLabels((SetupPulsePopup *)((char *)a1 - 936));\n  }\n}", "assembly": "; \n; SetupPulsePopup::colorValueChanged from 0x14043c160 to 0x14043c268 (264 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x1405eb3b8\n; > <???> @ 0x1406a1b20\n; > <???> @ 0x1406a1b54\n; > <???> @ 0x1406da058\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, 0x14043c160\nsub     rsp, 20h                                                       ; +0x2, 0x14043c162\nmov     rbx, rcx                                                       ; +0x6, 0x14043c166\nmov     rcx, [rcx+68h]                                                 ; +0x9, 0x14043c169\ntest    rcx, rcx                                                       ; +0xd, 0x14043c16d\njz      loc_14043C262                                                  ; +0x10, 0x14043c170\nmov     rdx, [rbx+10h]                                                 ; +0x16, 0x14043c176\nadd     rcx, 140h                                                      ; +0x1a, 0x14043c17a\nmov     [rsp+28h+arg_0], rbp                                           ; +0x21, 0x14043c181\nmov     [rsp+28h+arg_8], rsi                                           ; +0x26, 0x14043c186\nmovzx   eax, word ptr [rdx+1D8h]                                       ; +0x2b, 0x14043c18b\nmov     [rbx+78h], ax                                                  ; +0x32, 0x14043c192\nmovzx   eax, byte ptr [rdx+1DAh]                                       ; +0x36, 0x14043c196\nlea     rdx, [rbx+78h]                                                 ; +0x3d, 0x14043c19d\nmov     [rbx+7Ah], al                                                  ; +0x41, 0x14043c1a1\nmov     rax, [rcx]                                                     ; +0x44, 0x14043c1a4\ncall    qword ptr [rax]                                                ; +0x47, 0x14043c1a7\nmov     rcx, [rbx+70h]                                                 ; +0x49, 0x14043c1a9\nlea     rdx, [rbx+60h]                                                 ; +0x4d, 0x14043c1ad\nadd     rcx, 140h                                                      ; +0x51, 0x14043c1b1\nmov     rax, [rcx]                                                     ; +0x58, 0x14043c1b8\ncall    qword ptr [rax]                                                ; +0x5b, 0x14043c1bb\ncmp     byte ptr [rbx+104h], 0                                         ; +0x5d, 0x14043c1bd\njnz     loc_14043C24C                                                  ; +0x64, 0x14043c1c4\nmov     rcx, [rbx-118h]                                                ; +0x6a, 0x14043c1ca\ntest    rcx, rcx                                                       ; +0x71, 0x14043c1d1\njz      short loc_14043C1ED                                            ; +0x74, 0x14043c1d4\nmovzx   eax, word ptr [rbx+78h]                                        ; +0x76, 0x14043c1d6\nmov     [rcx+5B9h], ax                                                 ; +0x7a, 0x14043c1da\nmovzx   eax, byte ptr [rbx+7Ah]                                        ; +0x81, 0x14043c1e1\nmov     [rcx+5BBh], al                                                 ; +0x85, 0x14043c1e5\njmp     short loc_14043C24C                                            ; +0x8b, 0x14043c1eb\nmov     rcx, [rbx-110h]                                                ; +0x8d, 0x14043c1ed\ntest    rcx, rcx                                                       ; +0x94, 0x14043c1f4\njz      short loc_14043C24C                                            ; +0x97, 0x14043c1f7\nmov     [rsp+28h+arg_10], rdi                                          ; +0x99, 0x14043c1f9\nxor     edi, edi                                                       ; +0x9e, 0x14043c1fe\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0xa0, 0x14043c200\ntest    eax, eax                                                       ; +0xa6, 0x14043c206\njz      short loc_14043C247                                            ; +0xa8, 0x14043c208\nnop     word ptr [rax+rax+00h]                                         ; +0xaa, 0x14043c20a\nmov     rcx, [rbx-110h]                                                ; +0xb0, 0x14043c210\nmov     edx, edi                                                       ; +0xb7, 0x14043c217\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0xb9, 0x14043c219\nmovzx   edx, word ptr [rbx+78h]                                        ; +0xbf, 0x14043c21f\ninc     edi                                                            ; +0xc3, 0x14043c223\nmov     [rax+5B9h], dx                                                 ; +0xc5, 0x14043c225\nmovzx   edx, byte ptr [rbx+7Ah]                                        ; +0xcc, 0x14043c22c\nmov     [rax+5BBh], dl                                                 ; +0xd0, 0x14043c230\nmov     rcx, [rbx-110h]                                                ; +0xd6, 0x14043c236\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0xdd, 0x14043c23d\ncmp     edi, eax                                                       ; +0xe3, 0x14043c243\njb      short loc_14043C210                                            ; +0xe5, 0x14043c245\nmov     rdi, [rsp+28h+arg_10]                                          ; +0xe7, 0x14043c247\nlea     rcx, [rbx-3A8h]                                                ; +0xec, 0x14043c24c\ncall    SetupPulsePopup__updateColorLabels                             ; +0xf3, 0x14043c253\nmov     rsi, [rsp+28h+arg_8]                                           ; +0xf8, 0x14043c258\nmov     rbp, [rsp+28h+arg_0]                                           ; +0xfd, 0x14043c25d\nadd     rsp, 20h                                                       ; +0x102, 0x14043c262\npop     rbx                                                            ; +0x106, 0x14043c266\nretn                                                                   ; +0x107, 0x14043c267", "xrefs": ["<???> @ 0x1405eb3b8", "<???> @ 0x1406a1b20", "<???> @ 0x1406a1b54", "<???> @ 0x1406da058"], "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"}