{"type": "func", "start": 3130598, "end": 3130642, "name": "CCLightFlash::removeLights", "pseudocode": "// \n// CCLightFlash::removeLights from 0x2fc4e6 to 0x2fc512 (44 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 CCLightFlash::removeLights(CCLightFlash *a1)\n{\n  unsigned int i; // r4\n  int v3; // r0\n\n  for ( i = 0; i < cocos2d::CCArray::count(a1->m_lightStripArray); ++i )\n  {\n    v3 = cocos2d::CCArray::objectAtIndex(a1->m_lightStripArray, i);\n    (*(void (__fastcall **)(int, int))(*(_DWORD *)v3 + 256))(v3, 1);\n  }\n}", "assembly": "; \n; CCLightFlash::removeLights from 0x2fc4e6 to 0x2fc512 (44 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            {R3-R5,LR}                                             ; +0x0, 0x2fc4e6\nMOV             R5, R0                                                 ; +0x2, 0x2fc4e8\nMOVS            R4, #0                                                 ; +0x4, 0x2fc4ea\nLDR.W           R0, [R5,#0x108]; this                                  ; +0x6, 0x2fc4ec\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0xa, 0x2fc4f0\nCMP             R4, R0                                                 ; +0xe, 0x2fc4f4\nBCS             locret_2FC510                                          ; +0x10, 0x2fc4f6\nMOV             R1, R4; unsigned int                                   ; +0x12, 0x2fc4f8\nLDR.W           R0, [R5,#0x108]; this                                  ; +0x14, 0x2fc4fa\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x18, 0x2fc4fe\nMOVS            R1, #1                                                 ; +0x1c, 0x2fc502\nADDS            R4, #1                                                 ; +0x1e, 0x2fc504\nLDR             R3, [R0]                                               ; +0x20, 0x2fc506\nLDR.W           R3, [R3,#0x100]                                        ; +0x22, 0x2fc508\nBLX             R3                                                     ; +0x26, 0x2fc50c\nB               loc_2FC4EC                                             ; +0x28, 0x2fc50e\nPOP             {R3-R5,PC}                                             ; +0x2a, 0x2fc510", "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"}