{"type": "func", "start": 4302475472, "end": 4302475635, "name": "ColorSelectPopup::updateOpacity", "pseudocode": "// \n// ColorSelectPopup::updateOpacity from 0x1007290d0 to 0x100729173 (163 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::updateOpacity(ColorSelectPopup *a1)\n{\n  EffectGameObject *m_gameObject; // rax\n  cocos2d::CCArray *m_gameObjects; // rdi\n  unsigned int v4; // r14d\n  ColorAction *m_colorAction; // rax\n\n  m_gameObject = a1->m_gameObject;\n  if ( m_gameObject )\n  {\n    m_gameObject->m_opacity = a1->m_opacity;\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        v4 = 0;\n        do\n          *(float *)(sub_1007200C0((__int64)a1->m_gameObjects, v4++) + 1456) = a1->m_opacity;\n        while ( v4 < (unsigned int)sub_100720070((__int64)a1->m_gameObjects) );\n      }\n    }\n    else\n    {\n      m_colorAction = a1->m_colorAction;\n      if ( m_colorAction )\n        m_colorAction->m_fromOpacity = a1->m_opacity;\n    }\n  }\n}", "assembly": "; \n; ColorSelectPopup::updateOpacity from 0x1007290d0 to 0x100729173 (163 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, 0x1007290d0\nmov     rbp, rsp                                                       ; +0x1, 0x1007290d1\npush    r14                                                            ; +0x4, 0x1007290d4\npush    rbx                                                            ; +0x6, 0x1007290d6\nmov     rbx, rdi                                                       ; +0x7, 0x1007290d7\nmov     rax, [rdi+290h]                                                ; +0xa, 0x1007290da\ntest    rax, rax                                                       ; +0x11, 0x1007290e1\njz      short loc_1007290FB                                            ; +0x14, 0x1007290e4\nmovss   xmm0, dword ptr [rbx+42Ch]                                     ; +0x16, 0x1007290e6\nmovss   dword ptr [rax+5B0h], xmm0                                     ; +0x1e, 0x1007290ee\npop     rbx                                                            ; +0x26, 0x1007290f6\npop     r14                                                            ; +0x27, 0x1007290f7\npop     rbp                                                            ; +0x29, 0x1007290f9\nretn                                                                   ; +0x2a, 0x1007290fa\nmov     rdi, [rbx+298h]                                                ; +0x2b, 0x1007290fb\ntest    rdi, rdi                                                       ; +0x32, 0x100729102\njz      short loc_100729155                                            ; +0x35, 0x100729105\ncall    sub_100720070                                                  ; +0x37, 0x100729107\ntest    eax, eax                                                       ; +0x3c, 0x10072910c\njz      short loc_1007290F6                                            ; +0x3e, 0x10072910e\nxor     r14d, r14d                                                     ; +0x40, 0x100729110\nnop     word ptr [rax+rax+00000000h]                                   ; +0x43, 0x100729113\nmov     rdi, [rbx+298h]                                                ; +0x50, 0x100729120\nmov     esi, r14d                                                      ; +0x57, 0x100729127\ncall    sub_1007200C0                                                  ; +0x5a, 0x10072912a\nmovss   xmm0, dword ptr [rbx+42Ch]                                     ; +0x5f, 0x10072912f\nmovss   dword ptr [rax+5B0h], xmm0                                     ; +0x67, 0x100729137\ninc     r14d                                                           ; +0x6f, 0x10072913f\nmov     rdi, [rbx+298h]                                                ; +0x72, 0x100729142\ncall    sub_100720070                                                  ; +0x79, 0x100729149\ncmp     r14d, eax                                                      ; +0x7e, 0x10072914e\njb      short loc_100729120                                            ; +0x81, 0x100729151\njmp     short loc_1007290F6                                            ; +0x83, 0x100729153\nmov     rax, [rbx+430h]                                                ; +0x85, 0x100729155\ntest    rax, rax                                                       ; +0x8c, 0x10072915c\njz      short loc_1007290F6                                            ; +0x8f, 0x10072915f\nmovss   xmm0, dword ptr [rbx+42Ch]                                     ; +0x91, 0x100729161\nmovss   dword ptr [rax+60h], xmm0                                      ; +0x99, 0x100729169\npop     rbx                                                            ; +0x9e, 0x10072916e\npop     r14                                                            ; +0x9f, 0x10072916f\npop     rbp                                                            ; +0xa1, 0x100729171\nretn                                                                   ; +0xa2, 0x100729172", "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"}