//
// GameToolbox::particleFromString from 0x3d1efc to 0x3d2006 (266 bytes)
//
// 19 xrefs:
// > LevelCell::playRecallUnlock @ 0x430c8e
// > ParticleGameObject::updateParticle @ 0x4e7c00
// > LevelPage::updateDynamicPage @ 0x5149fe
// > LevelPage::updateDynamicPage @ 0x514a80
// > LevelPage::updateDynamicPage @ 0x514b06
// > GJDifficultySprite::updateFeatureState @ 0x5dddee
// > GauntletSelectLayer::playUnlockAnimation @ 0x60b146
// > GauntletSelectLayer::unlockAnimationStep2 @ 0x60b33a
// > GauntletSelectLayer::unlockAnimationStep3 @ 0x60b4ae
// > GauntletSelectLayer::unlockAnimationStep3 @ 0x60b568
// > CreateParticlePopup::init @ 0x66743e
// > CreateParticlePopup::init @ 0x667682
// > CreateParticlePopup::init @ 0x667696
// > LevelAreaLayer::init @ 0x6a5158
// > GJPathPage::unlockAnimationStep2 @ 0x6d223a
// > GJPathPage::playUnlockAnimation @ 0x6d282e
// > GJPathPage::unlockAnimationStep3 @ 0x6d42a8
// > GJPathPage::unlockAnimationStep3 @ 0x6d433e
// > SecretLayer5::onSubmit @ 0x6e59fc
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:46:41 +0000
//
int __fastcall GameToolbox::particleFromString(unsigned __int8 *a1, int a2, unsigned int a3)
{
int v5; // r3
int v6; // r3
_DWORD v8[53]; // [sp+0h] [bp-118h] BYREF
char v9; // [sp+D4h] [bp-44h]
char v10; // [sp+D5h] [bp-43h]
char v11; // [sp+D6h] [bp-42h]
char v12; // [sp+D7h] [bp-41h]
int v13; // [sp+D8h] [bp-40h]
char v14; // [sp+DCh] [bp-3Ch]
int v15; // [sp+E0h] [bp-38h]
int v16; // [sp+E4h] [bp-34h]
int v17; // [sp+E8h] [bp-30h]
int v18; // [sp+ECh] [bp-2Ch]
char v19; // [sp+F0h] [bp-28h]
char v20; // [sp+F1h] [bp-27h]
char v21; // [sp+F2h] [bp-26h]
char v22; // [sp+F3h] [bp-25h]
char v23; // [sp+F4h] [bp-24h]
int v24; // [sp+F8h] [bp-20h]
int v25; // [sp+FCh] [bp-1Ch]
int v26; // [sp+100h] [bp-18h]
int v27; // [sp+104h] [bp-14h]
_DWORD v28[3]; // [sp+108h] [bp-10h] BYREF
v5 = *a1;
if ( (v5 & 1) != 0 )
v6 = *((_DWORD *)a1 + 1);
else
v6 = v5 >> 1;
if ( v6 )
{
memset(v8, 0, sizeof(v8));
v9 = 0;
v10 = 0;
v11 = 0;
v12 = 0;
v13 = 0;
v14 = 0;
v15 = 0;
v16 = 0;
v17 = 0;
v18 = 0;
v19 = 0;
v20 = 0;
v21 = 0;
v22 = 0;
v23 = 0;
v24 = 0;
v25 = 0;
v26 = 0;
v27 = 0;
memset(v28, 0, sizeof(v28));
GameToolbox::particleStringToStruct(a1, (int)v8);
a2 = GameToolbox::particleFromStruct(v8, a2, a3);
std::string::~string((int)v28);
}
return a2;
}