// // cocos2d::CCLightning::lightningWithStrikePoint from 0x690e04 to 0x690ef8 (244 bytes) // // 4 xrefs: // > GJBaseGameLayer::lightningFlash @ 0x9ab8f4 // > RewardUnlockLayer::playRewardEffect @ 0xa88748 // > SecretLayer5::showSuccessAnimation @ 0xbc41b0 // > @ 0x78fe8 // // This function is hookable on this platform (idp: arm, 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:50:35 +0000 // cocos2d::CCLightning *__fastcall cocos2d::CCLightning::lightningWithStrikePoint( const cocos2d::CCPoint *a1, const cocos2d::CCPoint *a2, float a3) { cocos2d::CCLightning *v6; // x20 _BYTE v8[8]; // [xsp+48h] [xbp+48h] BYREF _BYTE v9[8]; // [xsp+50h] [xbp+50h] BYREF v6 = (cocos2d::CCLightning *)operator new(0x198u); cocos2d::CCLightning::CCLightning(v6); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v8, a1); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, a2); if ( (unsigned __int8)cocos2d::CCLightning::initWithStrikePoint((__int64)v6, (__int64)v8, (__int64)v9, a3) ) { cocos2d::CCObject::autorelease(v6); return v6; } else { (*(void (__fastcall **)(cocos2d::CCLightning *))(*(_QWORD *)v6 + 16LL))(v6); return nullptr; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source