// // ParticleGameObject::updateParticleAngle from 0x8717b0 to 0x871908 (344 bytes) // // 7 xrefs: // > ParticleGameObject::applyParticleSettings @ 0x871a18 // > ParticleGameObject::setRotation @ 0x871dec // > ParticleGameObject::setRotationX @ 0x871e38 // > ParticleGameObject::setRotationY @ 0x871e84 // > ParticleGameObject::updateParticleScale @ 0x871ebc // > ParticleGameObject::updateParticle @ 0x871fac // > @ 0xdfd68 // // 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:55:46 +0000 // __int64 __fastcall ParticleGameObject::updateParticleAngle( ParticleGameObject *this, float a2, cocos2d::CCParticleSystemQuad *a3) { float v6; // s8 float v7; // s9 float v8; // s0 long double v9; // q0 float v10; // s0 char v11; // w0 float v12; // [xsp+50h] [xbp+50h] __int64 v13; // [xsp+60h] [xbp+60h] BYREF __int64 v14; // [xsp+68h] [xbp+68h] BYREF __int64 x; // [xsp+70h] [xbp+70h] BYREF if ( a3 ) { if ( *((_BYTE *)this + 820) && ((v12 = a2, (*(unsigned __int8 (__fastcall **)(ParticleGameObject *))(*(_QWORD *)this + 1424LL))(this)) || (v11 = (*(__int64 (__fastcall **)(ParticleGameObject *))(*(_QWORD *)this + 1432LL))(this), a2 = v12, v11)) ) { v6 = *((float *)a3 + 190) * 0.017453; v7 = cosf(v6); v8 = sinf(v6); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&x, v7, v8); cocos2d::CCNode::convertToWorldSpace(&v13, this, (const cocos2d::CCPoint *)&x); cocos2d::CCNode::convertToWorldSpace(&v14, this, (const cocos2d::CCPoint *)&unk_155CA78); cocos2d::CCPoint::operator-(&x, &v13, &v14, v9); v10 = atan2f(*((float *)&x + 1), *(float *)&x); (*(void (__fastcall **)(cocos2d::CCParticleSystemQuad *, float))(*(_QWORD *)a3 + 1008LL))(a3, v10 * 57.296); } else { (*(void (__fastcall **)(cocos2d::CCParticleSystemQuad *, float))(*(_QWORD *)a3 + 1008LL))( a3, *((float *)a3 + 190) - a2); } } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source