// // cocos2d::CCParticleSystem::loadScaledDefaults from 0x1008b3010 to 0x1008b30b1 (161 bytes) // // 18 xrefs: // > ParticleGameObject::updateParticle @ 0x100192a5b // > ParticleGameObject::updateParticleScale @ 0x100192aea // > ParticleGameObject::setScaleX @ 0x100192deb // > ParticleGameObject::setScaleY @ 0x100192e5b // > ParticleGameObject::setScale @ 0x100192ecb // > GameObject::spawnDefaultPickupParticle @ 0x100248419 // > PlayerObject::togglePlayerScale @ 0x1003ffff5 // > PlayerObject::togglePlayerScale @ 0x100400009 // > PlayerObject::togglePlayerScale @ 0x10040001d // > PlayerObject::togglePlayerScale @ 0x100400031 // > PlayerObject::togglePlayerScale @ 0x100400045 // > PlayerObject::togglePlayerScale @ 0x100400059 // > PlayerObject::togglePlayerScale @ 0x10040006d // > PlayerObject::togglePlayerScale @ 0x100400081 // > PlayerObject::togglePlayerScale @ 0x100400095 // > PlayerObject::togglePlayerScale @ 0x1004000a9 // > PlayerObject::togglePlayerScale @ 0x1004000bd // > GameObject::claimParticle @ 0x10068e766 // // This function is hookable on this platform (idp: pc, 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:37:22 +0000 // _QWORD *__fastcall cocos2d::CCParticleSystem::loadScaledDefaults(__int64 a1, __m128 a2) { _QWORD *result; // rax __int64 v3; // [rsp+8h] [rbp-28h] BYREF __m128 v4; // [rsp+10h] [rbp-20h] _mm_storel_ps((double *)(a1 + 560), _mm_mul_ps(_mm_moveldup_ps(a2), (__m128)*(unsigned __int64 *)(a1 + 744))); *(float *)(a1 + 568) = *(float *)(a1 + 756) * a2.f32[0]; v4 = a2; sub_1002783B0((double *)&v3, (unsigned __int64 *)(a1 + 772), a2); result = sub_100278300((_QWORD *)(a1 + 472), &v3); if ( !*(_DWORD *)(a1 + 692) ) { (*(void (__fastcall **)(__int64, float))(*(_QWORD *)a1 + 1064LL))(a1, *(float *)(a1 + 764) * v4.f32[0]); return (_QWORD *)(*(__int64 (__fastcall **)(__int64, float))(*(_QWORD *)a1 + 1080LL))( a1, v4.f32[0] * *(float *)(a1 + 768)); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source