// // GameToolbox::hsvFromString from 0x2ee148 to 0x2ee224 (220 bytes) // // 6 xrefs: // > GameObject::objectFromVector @ 0x362f0c // > GameObject::objectFromVector @ 0x362f64 // > EffectGameObject::customObjectSetup @ 0x3e1984 // > EffectGameObject::customObjectSetup @ 0x3e28a6 // > EnterEffectObject::customObjectSetup @ 0x3e3024 // > ColorAction::setupFromMap @ 0x49dbca // // 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 // int __fastcall GameToolbox::hsvFromString(int a1, _DWORD *a2, char *a3) { double v4; // d10 double v5; // d9 double v6; // r0 const char **v7; // r8 double v8; // d8 int v9; // r7 int v10; // r0 float v11; // r1 float v12; // r2 int v13; // r3 const char **v15; // [sp+0h] [bp-10h] BYREF int v16; // [sp+4h] [bp-Ch] int v17; // [sp+8h] [bp-8h] if ( !*(_DWORD *)(*a2 - 12) ) goto LABEL_5; v15 = nullptr; v16 = 0; v17 = 0; sub_2EE0A0(a2, a3, (int)&v15); if ( (unsigned int)(v16 - (_DWORD)v15) <= 0x13 ) { std::vector::~vector((void **)&v15); LABEL_5: v11 = flt_AC550C; v12 = flt_AC5510; v13 = *(_DWORD *)&word_AC5514; *(float *)a1 = flt_AC5508; *(float *)(a1 + 4) = v11; *(float *)(a1 + 8) = v12; *(_DWORD *)(a1 + 12) = v13; return a1; } v4 = atof(*v15); v5 = atof((const char *)*(_DWORD *)&byte_4[(_DWORD)v15]); v6 = atof((const char *)*(_DWORD *)&byte_8[(_DWORD)v15]); v7 = v15; v8 = v6; v9 = atoi(*(const char **)&byte_9[(_DWORD)v15 + 3]); v10 = atoi(*(const char **)((char *)&word_10 + (_DWORD)v7)); *(float *)&v4 = v4; *(_DWORD *)a1 = LODWORD(v4); *(_BYTE *)(a1 + 12) = v9 != 0; *(float *)&v5 = v5; *(_DWORD *)(a1 + 4) = LODWORD(v5); *(float *)&v8 = v8; *(_DWORD *)(a1 + 8) = LODWORD(v8); *(_BYTE *)(a1 + 13) = v10 != 0; std::vector::~vector((void **)&v15); return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source