// // sub_1003E2FE0 from 0x1003e2fe0 to 0x1003e32f0 (784 bytes) // // 6 xrefs: // > LevelAreaLayer::init @ 0x1003e2ab0 // > LevelAreaLayer::init @ 0x1003e2af0 // > LevelAreaLayer::init @ 0x1003e2b30 // > LevelAreaLayer::init @ 0x1003e2b80 // > LevelAreaLayer::init @ 0x1003e2bc0 // > LevelAreaLayer::init @ 0x1003e2c00 // // 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:23 +0000 // __int64 __fastcall sub_1003E2FE0(__int64 *a1, __int64 a2, float a3, float a4, float a5, float a6, float a7) { __int64 v14; // x0 float *v15; // x20 float *v16; // x0 _OWORD *v17; // x22 float *v18; // x0 char v19; // w23 unsigned int v20; // w0 __int64 v21; // x1 __int64 v22; // x2 __int64 v23; // x3 __int64 v24; // x4 __int64 v25; // x5 __int64 v26; // x6 __int64 v27; // x7 __int64 v28; // x0 _DWORD *v29; // x0 void *v30; // x22 __int64 v31; // x0 __int64 v32; // x0 float *v33; // x0 _OWORD *v34; // x19 float *v35; // x0 char v36; // w0 __int64 v37; // x1 __int64 v38; // x2 __int64 v39; // x3 __int64 v40; // x4 __int64 v41; // x5 __int64 v42; // x6 __int64 v43; // x7 __int64 v44; // x0 _DWORD *v45; // x0 float v47; // [xsp+20h] [xbp-70h] BYREF __int64 v48; // [xsp+28h] [xbp-68h] BYREF v14 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::getWinSize(v14, &v48); v15 = (float *)cocos2d::CCSprite::createWithSpriteFrameName((__int64)"godray01_001.png"); (*(void (__fastcall **)(float *, __int64))(*(_QWORD *)v15 + 184LL))(v15, a2); sub_1000262BC(&v47, 1.0, 0.5); (*(void (__fastcall **)(float *, float *))(*(_QWORD *)v15 + 296LL))(v15, &v47); (*(void (__fastcall **)(float *, float))(*(_QWORD *)v15 + 144LL))(v15, a7); (*(void (__fastcall **)(float *, float))(*(_QWORD *)v15 + 128LL))( v15, (float)((float)(*(float *)&v48 * 0.5) * 1.5) / v15[108]); BYTE2(v47) = 0; LOWORD(v47) = -14081; (*(void (__fastcall **)(float *, float *))(*(_QWORD *)v15 + 960LL))(v15, &v47); (*(void (__fastcall **)(float *, __int64))(*(_QWORD *)v15 + 1080LL))(v15, 0x100000302LL); v15[141] = 0.3; v15[143] = 0.3; (*(void (__fastcall **)(float *))(*(_QWORD *)v15 + 1128LL))(v15); (*(void (__fastcall **)(float *, float))(*(_QWORD *)v15 + 360LL))(v15, 30.0); (*(void (__fastcall **)(float *, _QWORD))(*(_QWORD *)v15 + 912LL))(v15, (unsigned int)(int)a3); (*(void (__fastcall **)(__int64 *, float *))(*a1 + 456))(a1, v15); v16 = cocos2d::CCFadeTo::create((int)a4, a6); v17 = cocos2d::CCEaseInOut::create((__int64)v16, 2.0); v18 = cocos2d::CCFadeTo::create((int)a5, a6); v19 = (unsigned __int8)cocos2d::CCEaseInOut::create((__int64)v18, 2.0); v20 = rand(); cocos2d::CCDelayTime::create(vcvts_n_f32_s32(v20, 0x1Fu)); v28 = sub_10021D420((__int64)v17, v21, v22, v23, v24, v25, v26, v27, v19); v29 = cocos2d::CCRepeatForever::create(v28); cocos2d::CCNode::runAction((__int64)v15, (__int64)v29); v30 = cocos2d::CCSprite::createWithSpriteFrameName((__int64)"towerShine.png"); (*(void (__fastcall **)(void *, __int64))(*(_QWORD *)v30 + 184LL))(v30, a2); (*(void (__fastcall **)(__int64 *, void *, __int64))(*a1 + 464))(a1, v30, 4); (*(void (__fastcall **)(void *, float))(*(_QWORD *)v30 + 128LL))(v30, 1.2); (*(void (__fastcall **)(void *, float))(*(_QWORD *)v30 + 144LL))(v30, 1.44); v31 = (*(__int64 (__fastcall **)(float *))(*(_QWORD *)v15 + 944LL))(v15); (*(void (__fastcall **)(void *, __int64))(*(_QWORD *)v30 + 960LL))(v30, v31); v32 = (*(__int64 (__fastcall **)(float *))(*(_QWORD *)v15 + 1088LL))(v15); (*(void (__fastcall **)(void *, __int64))(*(_QWORD *)v30 + 1080LL))(v30, v32); (*(void (__fastcall **)(void *, _QWORD))(*(_QWORD *)v30 + 912LL))(v30, (unsigned int)(int)(float)(a3 * 0.9)); sub_1002E74E0(a1[53]); v33 = cocos2d::CCFadeTo::create((int)(float)(a4 * 0.9), a6); v34 = cocos2d::CCEaseInOut::create((__int64)v33, 2.0); v35 = cocos2d::CCFadeTo::create((int)(float)(a5 * 0.9), a6); v36 = (unsigned __int8)cocos2d::CCEaseInOut::create((__int64)v35, 2.0); v44 = sub_10021D420((__int64)v34, v37, v38, v39, v40, v41, v42, v43, v36); v45 = cocos2d::CCRepeatForever::create(v44); return cocos2d::CCNode::runAction((__int64)v30, (__int64)v45); }
GD Web Decomp Icon

GD Web Decomp

Raw Source