{"type": "func", "start": 4295976376, "end": 4295976480, "name": "ColorSelectLiveOverlay::toggleControls", "pseudocode": "// \n// ColorSelectLiveOverlay::toggleControls from 0x1000f65b8 to 0x1000f6620 (104 bytes)\n// \n// 1 xrefs:\n// > ColorSelectLiveOverlay::updateColorLabel @ 0x1000f6510\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\n// local variable allocation has failed, the output may be wrong!\nvoid __fastcall ColorSelectLiveOverlay::toggleControls(ColorSelectLiveOverlay *a1, bool a2)\n{\n  _BOOL8 v2; // x19\n  __int64 v4; // x21\n  __int64 v5; // x0\n\n  v2 = a2;\n  if ( (unsigned int)sub_10024A36C(a1->m_barSprites) )\n  {\n    v4 = 0;\n    do\n    {\n      v5 = sub_10024A388(a1->m_barSprites, v4);\n      (*(void (__fastcall **)(__int64, _BOOL8))(*(_QWORD *)v5 + 328LL))(v5, v2);\n      v4 = (unsigned int)(v4 + 1);\n    }\n    while ( (unsigned int)v4 < (unsigned int)sub_10024A36C(a1->m_barSprites) );\n  }\n}", "assembly": "; \n; ColorSelectLiveOverlay::toggleControls from 0x1000f65b8 to 0x1000f6620 (104 bytes)\n; \n; 1 xrefs:\n; > ColorSelectLiveOverlay::updateColorLabel @ 0x1000f6510\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\nSTP             X22, X21, [SP,#-0x10+var_20]!                          ; +0x0, 0x1000f65b8\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x1000f65bc\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x1000f65c0\nADD             X29, SP, #0x20                                         ; +0xc, 0x1000f65c4\nMOV             X19, X1                                                ; +0x10, 0x1000f65c8\nMOV             X20, X0                                                ; +0x14, 0x1000f65cc\nLDR             X0, [X0,#0x280]                                        ; +0x18, 0x1000f65d0\nBL              sub_10024A36C                                          ; +0x1c, 0x1000f65d4\nCBZ             W0, loc_1000F6610                                      ; +0x20, 0x1000f65d8\nMOV             W21, #0                                                ; +0x24, 0x1000f65dc\nLDR             X0, [X20,#0x280]                                       ; +0x28, 0x1000f65e0\nMOV             X1, X21                                                ; +0x2c, 0x1000f65e4\nBL              sub_10024A388                                          ; +0x30, 0x1000f65e8\nLDR             X8, [X0]                                               ; +0x34, 0x1000f65ec\nLDR             X8, [X8,#0x148]                                        ; +0x38, 0x1000f65f0\nMOV             X1, X19                                                ; +0x3c, 0x1000f65f4\nBLR             X8                                                     ; +0x40, 0x1000f65f8\nADD             W21, W21, #1                                           ; +0x44, 0x1000f65fc\nLDR             X0, [X20,#0x280]                                       ; +0x48, 0x1000f6600\nBL              sub_10024A36C                                          ; +0x4c, 0x1000f6604\nCMP             W21, W0                                                ; +0x50, 0x1000f6608\nB.CC            loc_1000F65E0                                          ; +0x54, 0x1000f660c\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x58, 0x1000f6610\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x5c, 0x1000f6614\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x60, 0x1000f6618\nRET                                                                    ; +0x64, 0x1000f661c", "xrefs": ["ColorSelectLiveOverlay::updateColorLabel @ 0x1000f6510"], "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"}