{"type": "func", "start": 4300645776, "end": 4300645885, "name": "ColorSelectLiveOverlay::toggleControls", "pseudocode": "// \n// ColorSelectLiveOverlay::toggleControls from 0x10056a590 to 0x10056a5fd (109 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 ColorSelectLiveOverlay::toggleControls(ColorSelectLiveOverlay *a1, bool a2)\n{\n  unsigned int v2; // r14d\n  __int64 v3; // rax\n\n  if ( (unsigned int)sub_100720070(a1->m_barSprites) )\n  {\n    v2 = 0;\n    do\n    {\n      v3 = sub_1007200C0(a1->m_barSprites, v2);\n      (*(void (__fastcall **)(__int64, bool))(*(_QWORD *)v3 + 328LL))(v3, a2);\n      ++v2;\n    }\n    while ( v2 < (unsigned int)sub_100720070(a1->m_barSprites) );\n  }\n}", "assembly": "; \n; ColorSelectLiveOverlay::toggleControls from 0x10056a590 to 0x10056a5fd (109 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, 0x10056a590\nmov     rbp, rsp                                                       ; +0x1, 0x10056a591\npush    r15                                                            ; +0x4, 0x10056a594\npush    r14                                                            ; +0x6, 0x10056a596\npush    rbx                                                            ; +0x8, 0x10056a598\npush    rax                                                            ; +0x9, 0x10056a599\nmov     r15d, esi                                                      ; +0xa, 0x10056a59a\nmov     rbx, rdi                                                       ; +0xd, 0x10056a59d\nmov     rdi, [rdi+280h]                                                ; +0x10, 0x10056a5a0\ncall    sub_100720070                                                  ; +0x17, 0x10056a5a7\ntest    eax, eax                                                       ; +0x1c, 0x10056a5ac\njz      short loc_10056A5F2                                            ; +0x1e, 0x10056a5ae\nxor     r14d, r14d                                                     ; +0x20, 0x10056a5b0\nmovzx   r15d, r15b                                                     ; +0x23, 0x10056a5b3\nnop     word ptr [rax+rax+00000000h]                                   ; +0x27, 0x10056a5b7\nmov     rdi, [rbx+280h]                                                ; +0x30, 0x10056a5c0\nmov     esi, r14d                                                      ; +0x37, 0x10056a5c7\ncall    sub_1007200C0                                                  ; +0x3a, 0x10056a5ca\nmov     rcx, [rax]                                                     ; +0x3f, 0x10056a5cf\nmov     rdi, rax                                                       ; +0x42, 0x10056a5d2\nmov     esi, r15d                                                      ; +0x45, 0x10056a5d5\ncall    qword ptr [rcx+148h]                                           ; +0x48, 0x10056a5d8\ninc     r14d                                                           ; +0x4e, 0x10056a5de\nmov     rdi, [rbx+280h]                                                ; +0x51, 0x10056a5e1\ncall    sub_100720070                                                  ; +0x58, 0x10056a5e8\ncmp     r14d, eax                                                      ; +0x5d, 0x10056a5ed\njb      short loc_10056A5C0                                            ; +0x60, 0x10056a5f0\nadd     rsp, 8                                                         ; +0x62, 0x10056a5f2\npop     rbx                                                            ; +0x66, 0x10056a5f6\npop     r14                                                            ; +0x67, 0x10056a5f7\npop     r15                                                            ; +0x69, 0x10056a5f9\npop     rbp                                                            ; +0x6b, 0x10056a5fb\nretn                                                                   ; +0x6c, 0x10056a5fc", "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"}