// // cocos2d::CCLightning::lightningWithStrikePoint from 0x1400445b0 to 0x140044650 (160 bytes) // // 6 xrefs: // > GJBaseGameLayer::teleportPlayer @ 0x14021030a // > GJBaseGameLayer::checkpointActivated @ 0x140246c79 // > GJBaseGameLayer::lightningFlash @ 0x140246db7 // > RewardUnlockLayer::playRewardEffect @ 0x1403d0348 // > SecretLayer5::showSuccessAnimation @ 0x1403f619a // > @ 0x1406c4614 // // 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 // // Hidden C++ exception states: #wind=1 cocos2d::CCLightning *cocos2d::CCLightning::lightningWithStrikePoint( cocos2d::CCPoint a1, cocos2d::CCPoint a2, float a3) { cocos2d::CCLightning *v5; // rdi cocos2d::CCPoint v6; // rbx cocos2d::CCPoint v7; // rax cocos2d::CCPoint v9; // [rsp+20h] [rbp-28h] BYREF cocos2d::CCPoint v10; // [rsp+68h] [rbp+20h] BYREF v10 = (cocos2d::CCPoint)operator new(0x198u); v5 = (cocos2d::CCLightning *)cocos2d::CCLightning::CCLightning(*(_QWORD *)&v10); if ( v5 ) { v6 = (cocos2d::CCPoint)cocos2d::CCPoint::CCPoint(&v10, *(const struct cocos2d::CCPoint **)&a2); v7 = (cocos2d::CCPoint)cocos2d::CCPoint::CCPoint(&v9, *(const struct cocos2d::CCPoint **)&a1); if ( cocos2d::CCLightning::initWithStrikePoint(v5, v7, v6, a3) ) { cocos2d::CCObject::autorelease(v5); return v5; } ((void (__fastcall *)(cocos2d::CCLightning *, __int64))v5->~CCLightning)(v5, 1); } return nullptr; }
GD Web Decomp Icon

GD Web Decomp

Raw Source