// // cocos2d::CCLightning::initWithStrikePoint from 0x1003e5d00 to 0x1003e5dcc (204 bytes) // // 1 xrefs: // > cocos2d::CCLightning::lightningWithStrikePoint @ 0x1003e5cc4 // // 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 11:04:25 +0000 // __int64 __fastcall cocos2d::CCLightning::initWithStrikePoint(__int64 a1, double *a2, double *a3, float a4) { char *v7; // x20 __int64 i; // x21 sub_10002630C((_QWORD *)(a1 + 328), a2); sub_10002630C((_QWORD *)(a1 + 336), a3); *(_WORD *)(a1 + 401) = -1; *(_BYTE *)(a1 + 403) = -1; *(_BYTE *)(a1 + 397) = -1; *(_QWORD *)(a1 + 360) = rand(); *(_BYTE *)(a1 + 344) = 0; *(float *)(a1 + 376) = a4; *(_QWORD *)(a1 + 348) = 0x8000000A0LL; *(_DWORD *)(a1 + 392) = 0; v7 = (char *)operator new[](0x640u); for ( i = 0; i != 1600; i += 8 ) sub_1000262EC(&v7[i]); *(_QWORD *)(a1 + 384) = v7; bzero(v7, 0x640u); *(_BYTE *)(a1 + 372) = 0; cocos2d::CCLightning::strike(a1); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source