{"type": "func", "start": 4302475792, "end": 4302475996, "name": "ColorSelectPopup::updateHSVValue", "pseudocode": "// \n// ColorSelectPopup::updateHSVValue from 0x100729210 to 0x1007292dc (204 bytes)\n// \n// 0 xrefs:\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 __fastcall ColorSelectPopup::updateHSVValue(ColorSelectPopup *a1)\n{\n  EffectGameObject *m_gameObject; // rax\n  __int64 v3; // rcx\n  cocos2d::CCArray *m_gameObjects; // rdi\n  unsigned int v5; // r14d\n  __int64 v6; // rax\n  __int64 v7; // rcx\n  ColorAction *m_colorAction; // rax\n  __int64 v9; // rcx\n\n  m_gameObject = a1->m_gameObject;\n  if ( m_gameObject )\n  {\n    v3 = *(_QWORD *)&a1->m_hsv.v;\n    *(_QWORD *)&m_gameObject->m_hsvValue.h = *(_QWORD *)&a1->m_hsv.h;\n    *(_QWORD *)&m_gameObject->m_hsvValue.v = v3;\n  }\n  else\n  {\n    m_gameObjects = a1->m_gameObjects;\n    if ( m_gameObjects )\n    {\n      if ( (unsigned int)sub_100720070((__int64)m_gameObjects) )\n      {\n        v5 = 0;\n        do\n        {\n          v6 = sub_1007200C0((__int64)a1->m_gameObjects, v5);\n          v7 = *(_QWORD *)&a1->m_hsv.v;\n          *(_QWORD *)(v6 + 1612) = *(_QWORD *)&a1->m_hsv.h;\n          *(_QWORD *)(v6 + 1620) = v7;\n          ++v5;\n        }\n        while ( v5 < (unsigned int)sub_100720070((__int64)a1->m_gameObjects) );\n      }\n    }\n    else\n    {\n      m_colorAction = a1->m_colorAction;\n      if ( m_colorAction )\n      {\n        v9 = *(_QWORD *)&a1->m_hsv.v;\n        *(_QWORD *)&m_colorAction->m_copyHSV.h = *(_QWORD *)&a1->m_hsv.h;\n        *(_QWORD *)&m_colorAction->m_copyHSV.v = v9;\n      }\n    }\n  }\n}", "assembly": "; \n; ColorSelectPopup::updateHSVValue from 0x100729210 to 0x1007292dc (204 bytes)\n; \n; 0 xrefs:\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    rbp                                                            ; +0x0, 0x100729210\nmov     rbp, rsp                                                       ; +0x1, 0x100729211\npush    r14                                                            ; +0x4, 0x100729214\npush    rbx                                                            ; +0x6, 0x100729216\nmov     rbx, rdi                                                       ; +0x7, 0x100729217\nmov     rax, [rdi+290h]                                                ; +0xa, 0x10072921a\ntest    rax, rax                                                       ; +0x11, 0x100729221\njz      short loc_100729249                                            ; +0x14, 0x100729224\nmovsd   xmm0, qword ptr [rbx+460h]                                     ; +0x16, 0x100729226\nmov     rcx, [rbx+468h]                                                ; +0x1e, 0x10072922e\nmovsd   qword ptr [rax+64Ch], xmm0                                     ; +0x25, 0x100729235\nmov     [rax+654h], rcx                                                ; +0x2d, 0x10072923d\npop     rbx                                                            ; +0x34, 0x100729244\npop     r14                                                            ; +0x35, 0x100729245\npop     rbp                                                            ; +0x37, 0x100729247\nretn                                                                   ; +0x38, 0x100729248\nmov     rdi, [rbx+298h]                                                ; +0x39, 0x100729249\ntest    rdi, rdi                                                       ; +0x40, 0x100729250\njz      short loc_1007292B3                                            ; +0x43, 0x100729253\ncall    sub_100720070                                                  ; +0x45, 0x100729255\ntest    eax, eax                                                       ; +0x4a, 0x10072925a\njz      short loc_100729244                                            ; +0x4c, 0x10072925c\nxor     r14d, r14d                                                     ; +0x4e, 0x10072925e\nnop     word ptr [rax+rax+00000000h]                                   ; +0x51, 0x100729261\nmov     rdi, [rbx+298h]                                                ; +0x60, 0x100729270\nmov     esi, r14d                                                      ; +0x67, 0x100729277\ncall    sub_1007200C0                                                  ; +0x6a, 0x10072927a\nmovsd   xmm0, qword ptr [rbx+460h]                                     ; +0x6f, 0x10072927f\nmov     rcx, [rbx+468h]                                                ; +0x77, 0x100729287\nmovsd   qword ptr [rax+64Ch], xmm0                                     ; +0x7e, 0x10072928e\nmov     [rax+654h], rcx                                                ; +0x86, 0x100729296\ninc     r14d                                                           ; +0x8d, 0x10072929d\nmov     rdi, [rbx+298h]                                                ; +0x90, 0x1007292a0\ncall    sub_100720070                                                  ; +0x97, 0x1007292a7\ncmp     r14d, eax                                                      ; +0x9c, 0x1007292ac\njb      short loc_100729270                                            ; +0x9f, 0x1007292af\njmp     short loc_100729244                                            ; +0xa1, 0x1007292b1\nmov     rax, [rbx+430h]                                                ; +0xa3, 0x1007292b3\ntest    rax, rax                                                       ; +0xaa, 0x1007292ba\njz      short loc_100729244                                            ; +0xad, 0x1007292bd\nmovsd   xmm0, qword ptr [rbx+460h]                                     ; +0xaf, 0x1007292bf\nmov     rcx, [rbx+468h]                                                ; +0xb7, 0x1007292c7\nmovsd   qword ptr [rax+68h], xmm0                                      ; +0xbe, 0x1007292ce\nmov     [rax+70h], rcx                                                 ; +0xc3, 0x1007292d3\npop     rbx                                                            ; +0xc7, 0x1007292d7\npop     r14                                                            ; +0xc8, 0x1007292d8\npop     rbp                                                            ; +0xca, 0x1007292da\nretn                                                                   ; +0xcb, 0x1007292db", "xrefs": [], "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"}