// // cocos2d::CCLightning::lightningWithStrikePoint from 0x2e6408 to 0x2e646c (100 bytes) // // 0 xrefs: // // 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 // cocos2d::CCLightning *cocos2d::CCLightning::lightningWithStrikePoint(cocos2d::CCPoint a1) { float x; // r7 cocos2d::CCLightning *v2; // r4 cocos2d::CCPoint v3; // r1 cocos2d::CCPoint v5; // [sp+4h] [bp-10h] BYREF x = a1.x; v2 = (cocos2d::CCLightning *)operator new(0x158u); cocos2d::CCLightning::CCLightning(v2); cocos2d::CCPoint::CCPoint(&v5, (const cocos2d::CCPoint *)LODWORD(x)); LODWORD(v3.x) = &v5; if ( cocos2d::CCLightning::initWithStrikePoint(v2, v3) ) { cocos2d::CCObject::autorelease(v2); return v2; } else { v2->~CCLightning_0(v2); return nullptr; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source