// // CCLightStrip::init from 0x1005031c0 to 0x1005032f3 (307 bytes) // // 2 xrefs: // > CCLightFlash::playEffect @ 0x100502ba7 // > CCLightStrip::create @ 0x100502d6e // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:31:31 +0000 // char __fastcall CCLightStrip::init(__int64 a1, float a2, float a3, float a4, float a5, float a6) { _OWORD *v6; // r14 __int64 v7; // r15 __int64 v8; // rax __int64 v9; // r12 double v10; // xmm2_8 double v11; // xmm1_8 __int64 v12; // rax __int64 v13; // rax __int64 v14; // rax __int64 v15; // r14 __int64 v16; // rax __int64 v17; // rax *(float *)(a1 + 316) = a2; *(float *)(a1 + 320) = a3; *(float *)(a1 + 324) = a4; *(float *)(a1 + 328) = a5; *(float *)(a1 + 340) = a2; *(_DWORD *)(a1 + 344) = 1065353216; *(_DWORD *)(a1 + 336) = 1132396544; (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 344LL))(a1, 0); v6 = cocos2d::CCDelayTime::create((__m128)LODWORD(a6)); v7 = cocos2d::CCShow::create(a1); v8 = cocos2d::CCActionTween::create_1((std::string::value_type *)"height"); v9 = cocos2d::CCEaseOut::create(v8, 2.0); *(_QWORD *)&v10 = *(unsigned int *)(a1 + 320); *(_QWORD *)&v11 = *(unsigned int *)(a1 + 340); v12 = cocos2d::CCActionTween::create_1((std::string::value_type *)"width"); v13 = cocos2d::CCEaseOut::create(v12, 2.0); v14 = sub_10039FF60(v9, v13, 0, COERCE_DOUBLE(0x40000000), v11, v10); v15 = sub_10039EB60((__int64)v6, v7, v14, 0); v16 = cocos2d::CCDirector::sharedDirector(); v17 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v16 + 144LL))(v16); cocos2d::CCActionManager::addAction(v17, v15, a1, 0); return 1; }