{"type": "func", "start": 5369288448, "end": 5369288563, "name": "ColorSelectLiveOverlay::toggleControls", "pseudocode": "// \n// ColorSelectLiveOverlay::toggleControls from 0x14008d700 to 0x14008d773 (115 bytes)\n// \n// 2 xrefs:\n// > ColorSelectLiveOverlay::updateColorLabel @ 0x14008d673\n// > <???> @ 0x1406c6e94\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  unsigned int i; // ebx\n  struct cocos2d::CCObject *v5; // rax\n\n  for ( i = 0; i < cocos2d::CCArray::count(a1->m_barSprites); ++i )\n  {\n    v5 = cocos2d::CCArray::objectAtIndex(a1->m_barSprites, i);\n    ((void (__fastcall *)(struct cocos2d::CCObject *, bool))v5->__vftable[4].update)(v5, a2);\n  }\n}", "assembly": "; \n; ColorSelectLiveOverlay::toggleControls from 0x14008d700 to 0x14008d773 (115 bytes)\n; \n; 2 xrefs:\n; > ColorSelectLiveOverlay::updateColorLabel @ 0x14008d673\n; > <???> @ 0x1406c6e94\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x14008d700\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x14008d705\npush    rdi                                                            ; +0xa, 0x14008d70a\nsub     rsp, 20h                                                       ; +0xb, 0x14008d70b\nmov     rdi, rcx                                                       ; +0xf, 0x14008d70f\nmovzx   esi, dl                                                        ; +0x12, 0x14008d712\nmov     rcx, [rcx+280h]                                                ; +0x15, 0x14008d715\nxor     ebx, ebx                                                       ; +0x1c, 0x14008d71c\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x1e, 0x14008d71e\ntest    eax, eax                                                       ; +0x24, 0x14008d724\njz      short loc_14008D763                                            ; +0x26, 0x14008d726\nnop     dword ptr [rax+rax+00000000h]                                  ; +0x28, 0x14008d728\nmov     rcx, [rdi+280h]                                                ; +0x30, 0x14008d730\nmov     edx, ebx                                                       ; +0x37, 0x14008d737\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x39, 0x14008d739\nmovzx   edx, sil                                                       ; +0x3f, 0x14008d73f\nmov     rcx, rax                                                       ; +0x43, 0x14008d743\nmov     r8, [rax]                                                      ; +0x46, 0x14008d746\ncall    qword ptr [r8+140h]                                            ; +0x49, 0x14008d749\nmov     rcx, [rdi+280h]                                                ; +0x50, 0x14008d750\ninc     ebx                                                            ; +0x57, 0x14008d757\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x59, 0x14008d759\ncmp     ebx, eax                                                       ; +0x5f, 0x14008d75f\njb      short loc_14008D730                                            ; +0x61, 0x14008d761\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x63, 0x14008d763\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x68, 0x14008d768\nadd     rsp, 20h                                                       ; +0x6d, 0x14008d76d\npop     rdi                                                            ; +0x71, 0x14008d771\nretn                                                                   ; +0x72, 0x14008d772", "xrefs": ["ColorSelectLiveOverlay::updateColorLabel @ 0x14008d673", "<???> @ 0x1406c6e94"], "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"}