// // cocos2d::CCLightning::initWithStrikePoint from 0x690d20 to 0x690e04 (228 bytes) // // 3 xrefs: // > cocos2d::CCLightning::lightningWithStrikePoint @ 0x690e78 // > cocos2d::CCLightning::initWithStrikePoint @ 0x690f50 // > @ 0x103a68 // // 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 // __int64 __fastcall cocos2d::CCLightning::initWithStrikePoint(__int64 a1, __int64 a2, __int64 a3, float a4) { cocos2d::CCPoint *v5; // x22 cocos2d::CCPoint *v6; // x19 cocos2d::CCPoint::operator=(a1 + 328, a2); cocos2d::CCPoint::operator=(a1 + 336, a3); *(_BYTE *)(a1 + 401) = -1; *(_BYTE *)(a1 + 402) = -1; *(_BYTE *)(a1 + 403) = -1; *(_BYTE *)(a1 + 397) = -1; *(_QWORD *)(a1 + 360) = rand(); *(_DWORD *)(a1 + 348) = 160; *(_BYTE *)(a1 + 344) = 0; *(_DWORD *)(a1 + 352) = 8; *(_DWORD *)(a1 + 392) = 0; *(float *)(a1 + 376) = a4; v5 = (cocos2d::CCPoint *)operator new[](0x640u); v6 = v5; do { cocos2d::CCPoint::CCPoint(v6); v6 = (cocos2d::CCPoint *)((char *)v6 + 8); } while ( v6 != (cocos2d::CCPoint *)((char *)v5 + 1600) ); *(_QWORD *)(a1 + 384) = v5; memset(v5, 0, 0x640u); *(_BYTE *)(a1 + 372) = 0; cocos2d::CCLightning::strike((cocos2d::CCLightning *)a1); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source