// // cocos2d::CCLightning::lightningWithStrikePoint from 0x100347744 to 0x1003477c8 (132 bytes) // // 3 xrefs: // > SecretLayer5::showSuccessAnimation @ 0x100075fa0 // > RewardUnlockLayer::playRewardEffect @ 0x1001c6a34 // > GJBaseGameLayer::lightningFlash @ 0x1001e4444 // // 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 *__fastcall cocos2d::CCLightning::lightningWithStrikePoint( cocos2d::CCPoint a1, cocos2d::CCPoint a2, float a3) { __int64 *v3; // x0 __int64 *v4; // x1 float x; // s8 __int64 *v6; // x20 __int64 *v7; // x21 cocos2d::CCLightning *v8; // x19 float v9; // s4 __int64 v11; // [xsp+0h] [xbp-40h] BYREF __int64 v12; // [xsp+8h] [xbp-38h] BYREF cocos2d::CCPoint v13; // 0:s0.4,4:s1.4 cocos2d::CCPoint v14; // 0:s2.4,4:s3.4 x = a1.x; v6 = v4; v7 = v3; v8 = (cocos2d::CCLightning *)operator new(0x198u); cocos2d::CCLightning::CCLightning((__int64)v8); sub_1000229B8(&v12, v7); sub_1000229B8(&v11, v6); v13.x = x; cocos2d::CCLightning::initWithStrikePoint(v8, v13, v14, v9); cocos2d::CCObject::autorelease(v8); return v8; }
GD Web Decomp Icon

GD Web Decomp

Raw Source