// // GJBaseGameLayer::lightningFlash_1 from 0x100207fb8 to 0x1002080a4 (236 bytes) // // 1 xrefs: // > PlayerObject::togglePlayerScale @ 0x1002274d0 // // 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 // // local variable allocation has failed, the output may be wrong! void __fastcall GJBaseGameLayer::lightningFlash_1(GJBaseGameLayer *a1, cocos2d::CCPoint a2, cocos2d::ccColor3B a3) { bool v3; // w2 bool v4; // w20 __int64 *v5; // x21 cocos2d::CCDirector *v7; // x0 float v8; // s8 float y; // s9 __n128 v10; // q0 __n128 v11; // q1 float v12; // s4 float v13; // s5 float v14; // s6 __int64 v15; // [xsp+0h] [xbp-60h] BYREF __int64 v16; // [xsp+8h] [xbp-58h] BYREF __int64 v17; // [xsp+10h] [xbp-50h] BYREF float v18; // [xsp+1Ch] [xbp-44h] cocos2d::CCPoint v19; // 0:s0.4,4:s1.4 cocos2d::CCPoint v20; // 0:s2.4,4:s3.4 v4 = v3; v5 = *(__int64 **)&a3.r; v7 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::getWinSize(v7); v8 = sub_1002FE590(*(float *)v5 + -50.0, *(float *)v5 + 100.0); y = a1->m_gameState.m_cameraPosition.y; v10.n128_f64[0] = ((double (__fastcall *)(cocos2d::CCLayer *))a1->m_objectLayer->getScale)(a1->m_objectLayer); v11.n128_f32[0] = y + (float)((float)(v18 + 50.0) / v10.n128_f32[0]); v10.n128_f32[0] = v8; sub_100022980(v10, v11, &v17); sub_1000229B8(&v16, &v17); sub_1000229B8(&v15, v5); v19.x = 5.0; v19.y = 0.5; v20.x = 1.0; GJBaseGameLayer::lightningFlash(a1, v19, v20, (cocos2d::ccColor3B)&v16, v12, v13, (int)&v15, v4, v14); }
GD Web Decomp Icon

GD Web Decomp

Raw Source