// // cocos2d::CCLightning::lightningWithStrikePoint from 0x140048270 to 0x140048310 (160 bytes) // // 6 xrefs: // > GJBaseGameLayer::teleportPlayer @ 0x1403164aa // > GJBaseGameLayer::checkpointActivated @ 0x140350fac // > GJBaseGameLayer::lightningFlash @ 0x1403510ea // > RewardUnlockLayer::playRewardEffect @ 0x140565ca5 // > SecretLayer5::showSuccessAnimation @ 0x14058b913 // > @ 0x14090fb24 // // 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 11:25:31 +0000 // // Hidden C++ exception states: #wind=1 cocos2d::CCObject *__fastcall cocos2d::CCLightning::lightningWithStrikePoint( const struct cocos2d::CCPoint *a1, const struct cocos2d::CCPoint *a2) { cocos2d::CCObject *v4; // rdi __int64 v5; // rbx __int64 v6; // rax _BYTE v8[16]; // [rsp+20h] [rbp-28h] BYREF void *v9; // [rsp+68h] [rbp+20h] BYREF v9 = operator new(0x198u); v4 = (cocos2d::CCObject *)cocos2d::CCLightning::CCLightning((__int64)v9); if ( v4 ) { v5 = cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v9, a2); v6 = cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v8, a1); if ( (unsigned __int8)cocos2d::CCLightning::initWithStrikePoint(v4, v6, v5) ) { cocos2d::CCObject::autorelease(v4); return v4; } (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v4 + 8LL))(v4, 1); } return nullptr; }
GD Web Decomp Icon

GD Web Decomp

Raw Source