{"type": "func", "start": 9482376, "end": 9482472, "name": "ColorSelectLiveOverlay::toggleControls", "pseudocode": "// \n// ColorSelectLiveOverlay::toggleControls from 0x90b088 to 0x90b0e8 (96 bytes)\n// \n// 3 xrefs:\n// > ColorSelectLiveOverlay::updateColorLabel @ 0x90b1bc\n// > ColorSelectLiveOverlay::updateColorLabel @ 0x90b220\n// > <???> @ 0xc3618\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 ColorSelectLiveOverlay::toggleControls(ColorSelectLiveOverlay *a1, bool a2)\n{\n  _BOOL4 v3; // w21\n  unsigned int v4; // w19\n  __int64 v5; // x0\n  bool v6; // cf\n  unsigned int v7; // w1\n\n  v3 = a2;\n  v4 = 0;\n  while ( 1 )\n  {\n    v6 = v4 >= (unsigned int)cocos2d::CCArray::count(a1->m_barSprites);\n    v7 = v4++;\n    if ( v6 )\n      break;\n    v5 = cocos2d::CCArray::objectAtIndex(a1->m_barSprites, v7);\n    (*(void (__fastcall **)(__int64, _BOOL4))(*(_QWORD *)v5 + 328LL))(v5, v3);\n  }\n}", "assembly": "; \n; ColorSelectLiveOverlay::toggleControls from 0x90b088 to 0x90b0e8 (96 bytes)\n; \n; 3 xrefs:\n; > ColorSelectLiveOverlay::updateColorLabel @ 0x90b1bc\n; > ColorSelectLiveOverlay::updateColorLabel @ 0x90b220\n; > <???> @ 0xc3618\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             X29, X30, [SP,#var_30]!                                ; +0x0, 0x90b088\nMOV             X29, SP                                                ; +0x4, 0x90b08c\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0x8, 0x90b090\nSTR             X21, [SP,#0x30+var_10]                                 ; +0xc, 0x90b094\nMOV             X20, X0                                                ; +0x10, 0x90b098\nUXTB            W21, W1                                                ; +0x14, 0x90b09c\nMOV             W19, #0                                                ; +0x18, 0x90b0a0\nB               loc_90B0C0                                             ; +0x1c, 0x90b0a4\nLDR             X0, [X20,#0x280]; this                                 ; +0x20, 0x90b0a8\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x24, 0x90b0ac\nLDR             X2, [X0]                                               ; +0x28, 0x90b0b0\nMOV             W1, W21                                                ; +0x2c, 0x90b0b4\nLDR             X2, [X2,#0x148]                                        ; +0x30, 0x90b0b8\nBLR             X2                                                     ; +0x34, 0x90b0bc\nLDR             X0, [X20,#0x280]; this                                 ; +0x38, 0x90b0c0\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x3c, 0x90b0c4\nCMP             W19, W0                                                ; +0x40, 0x90b0c8\nMOV             W1, W19; unsigned int                                  ; +0x44, 0x90b0cc\nADD             W19, W19, #1                                           ; +0x48, 0x90b0d0\nB.CC            loc_90B0A8                                             ; +0x4c, 0x90b0d4\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x50, 0x90b0d8\nLDR             X21, [SP,#0x30+var_10]                                 ; +0x54, 0x90b0dc\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x58, 0x90b0e0\nRET                                                                    ; +0x5c, 0x90b0e4", "xrefs": ["ColorSelectLiveOverlay::updateColorLabel @ 0x90b1bc", "ColorSelectLiveOverlay::updateColorLabel @ 0x90b220", "<???> @ 0xc3618"], "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"}