// // CCLightFlash::removeLights from 0x5a6f00 to 0x5a6f54 (84 bytes) // // 3 xrefs: // > @ 0x4b6f0 // > CCLightFlash::showFlash @ 0x5a795c // > @ 0x122a6b0 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void CCLightFlash::removeLights(CCLightFlash *a1) { unsigned int v2; // w19 __int64 v3; // x0 bool v4; // cf unsigned int v5; // w1 v2 = 0; while ( 1 ) { v4 = v2 >= (unsigned int)cocos2d::CCArray::count(a1->m_lightStripArray); v5 = v2++; if ( v4 ) break; v3 = cocos2d::CCArray::objectAtIndex(a1->m_lightStripArray, v5); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v3 + 512LL))(v3, 1); } }