{"type": "func", "start": 6298012, "end": 6298058, "name": "ColorSelectLiveOverlay::toggleControls", "pseudocode": "// \n// ColorSelectLiveOverlay::toggleControls from 0x60199c to 0x6019ca (46 bytes)\n// \n// 1 xrefs:\n// > ColorSelectLiveOverlay::updateColorLabel @ 0x601a84\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:54:41 +0000\n// \n\nunsigned int __fastcall ColorSelectLiveOverlay::toggleControls(cocos2d::CCArray **this, int a2)\n{\n  unsigned int i; // r4\n  unsigned int result; // r0\n  int v6; // r0\n\n  for ( i = 0; ; ++i )\n  {\n    result = cocos2d::CCArray::count(*(this + 131));\n    if ( i >= result )\n      break;\n    v6 = cocos2d::CCArray::objectAtIndex(*(this + 131), i);\n    (*(void (__fastcall **)(int, int))(*(_DWORD *)v6 + 172))(v6, a2);\n  }\n  return result;\n}", "assembly": "; \n; ColorSelectLiveOverlay::toggleControls from 0x60199c to 0x6019ca (46 bytes)\n; \n; 1 xrefs:\n; > ColorSelectLiveOverlay::updateColorLabel @ 0x601a84\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:54:41 +0000\n; \nPUSH            {R4-R6,LR}                                             ; +0x0, 0x60199c\nMOV             R5, R0                                                 ; +0x2, 0x60199e\nMOV             R6, R1                                                 ; +0x4, 0x6019a0\nMOVS            R4, #0                                                 ; +0x6, 0x6019a2\nLDR.W           R0, [R5,#0x20C]; this                                  ; +0x8, 0x6019a4\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0xc, 0x6019a8\nCMP             R4, R0                                                 ; +0x10, 0x6019ac\nBCS             locret_6019C8                                          ; +0x12, 0x6019ae\nMOV             R1, R4; unsigned int                                   ; +0x14, 0x6019b0\nLDR.W           R0, [R5,#0x20C]; this                                  ; +0x16, 0x6019b2\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x1a, 0x6019b6\nMOV             R1, R6                                                 ; +0x1e, 0x6019ba\nADDS            R4, #1                                                 ; +0x20, 0x6019bc\nLDR             R3, [R0]                                               ; +0x22, 0x6019be\nLDR.W           R3, [R3,#0xAC]                                         ; +0x24, 0x6019c0\nBLX             R3                                                     ; +0x28, 0x6019c4\nB               loc_6019A4                                             ; +0x2a, 0x6019c6\nPOP             {R4-R6,PC}                                             ; +0x2c, 0x6019c8", "xrefs": ["ColorSelectLiveOverlay::updateColorLabel @ 0x601a84"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}