// // CameraTriggerGameObject::getSaveString from 0x8afbbc to 0x8b0b00 (3908 bytes) // // 2 xrefs: // > @ 0x569e0 // > @ 0x1453360 // // 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:56:23 +0000 // __int64 *__usercall CameraTriggerGameObject::getSaveString@( CameraTriggerGameObject *this@, GJBaseGameLayer *a2@, __int64 *a3@) { const char *v5; // x1 size_t v6; // x2 int v7; // w0 bool v8; // cc size_t v9; // x20 const char *v10; // x1 size_t v11; // x0 double v13; // d0 double v14; // d0 double v15; // d0 double v16; // d0 double v17; // d0 double v18; // d0 double v19; // d0 double v20; // d0 double v21; // d0 double v22; // d0 double v23; // d0 double v24; // d0 double v25; // d0 double v26; // d0 double v27; // d0 char *v28; // [xsp+48h] [xbp+48h] __int64 v29[2]; // [xsp+1A8h] [xbp+1A8h] BYREF char *v30; // [xsp+1B8h] [xbp+1B8h] _DWORD v31[5]; // [xsp+1C0h] [xbp+1C0h] BYREF char v32; // [xsp+1D4h] [xbp+1D4h] _DWORD v33[5]; // [xsp+1D8h] [xbp+1D8h] BYREF char v34; // [xsp+1ECh] [xbp+1ECh] _DWORD v35[5]; // [xsp+1F0h] [xbp+1F0h] BYREF char v36; // [xsp+204h] [xbp+204h] _DWORD v37[5]; // [xsp+208h] [xbp+208h] BYREF char v38; // [xsp+21Ch] [xbp+21Ch] _DWORD v39[5]; // [xsp+220h] [xbp+220h] BYREF char v40; // [xsp+234h] [xbp+234h] _DWORD v41[5]; // [xsp+238h] [xbp+238h] BYREF char v42; // [xsp+24Ch] [xbp+24Ch] _DWORD v43[5]; // [xsp+250h] [xbp+250h] BYREF char v44; // [xsp+264h] [xbp+264h] _DWORD v45[5]; // [xsp+268h] [xbp+268h] BYREF char v46; // [xsp+27Ch] [xbp+27Ch] _DWORD v47[5]; // [xsp+280h] [xbp+280h] BYREF char v48; // [xsp+294h] [xbp+294h] _DWORD v49[5]; // [xsp+298h] [xbp+298h] BYREF char v50; // [xsp+2ACh] [xbp+2ACh] _DWORD v51[5]; // [xsp+2B0h] [xbp+2B0h] BYREF char v52; // [xsp+2C4h] [xbp+2C4h] _DWORD v53[5]; // [xsp+2C8h] [xbp+2C8h] BYREF char v54; // [xsp+2DCh] [xbp+2DCh] _DWORD v55[5]; // [xsp+2E0h] [xbp+2E0h] BYREF char v56; // [xsp+2F4h] [xbp+2F4h] _DWORD v57[5]; // [xsp+2F8h] [xbp+2F8h] BYREF char v58; // [xsp+30Ch] [xbp+30Ch] _DWORD v59[5]; // [xsp+310h] [xbp+310h] BYREF char v60; // [xsp+324h] [xbp+324h] size_t v61; // [xsp+328h] [xbp+328h] BYREF unsigned __int64 v62; // [xsp+330h] [xbp+330h] char *v63; // [xsp+338h] [xbp+338h] _BYTE v64[504]; // [xsp+340h] [xbp+340h] BYREF v61 = 0; v62 = 500; v63 = v64; EffectGameObject::getSaveString(this, a2, v29); if ( (v29[0] & 1) != 0 ) { v5 = v30; v6 = v29[1]; } else { v5 = (char *)v29 + 1; v6 = LOBYTE(v29[0]) >> 1; } fmt::BasicWriter::operator<<(&v61, v5, v6); if ( (v29[0] & 1) != 0 ) { operator delete(v30); v7 = *((_DWORD *)this + 257); v8 = v7 <= 2015; if ( v7 != 2015 ) { LABEL_5: if ( v8 ) { if ( v7 == 1914 ) { if ( *((float *)this + 363) != 0.0 ) { fmt::BasicWriter::operator<<(&v61, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v61, 0xAu); fmt::BasicWriter::operator<<(&v61, &byte_1169BE0, 0); v15 = *((float *)this + 363); v31[1] = 32; v31[0] = 0; v31[2] = 0; v31[3] = 0; v31[4] = -1; v32 = 0; fmt::BasicWriter::FormatDouble(&v61, v31, v15); } if ( *((_DWORD *)this + 374) ) { fmt::BasicWriter::operator<<(&v61, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v61, 0x1Eu); fmt::BasicWriter::operator<<(&v61, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>( &v61, *((_DWORD *)this + 374)); } if ( *((float *)this + 375) != 0.0 ) { fmt::BasicWriter::operator<<(&v61, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v61, 0x55u); fmt::BasicWriter::operator<<(&v61, &byte_1169BE0, 0); v23 = *((float *)this + 375); v33[1] = 32; v33[0] = 0; v33[2] = 0; v33[3] = 0; v33[4] = -1; v34 = 0; fmt::BasicWriter::FormatDouble(&v61, v33, v23); } if ( *((_DWORD *)this + 367) ) { fmt::BasicWriter::operator<<(&v61, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v61, 0x47u); fmt::BasicWriter::operator<<(&v61, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>( &v61, *((_DWORD *)this + 367)); } if ( *((_DWORD *)this + 378) ) { fmt::BasicWriter::operator<<(&v61, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v61, 0x65u); fmt::BasicWriter::operator<<(&v61, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>( &v61, *((_DWORD *)this + 378)); } if ( *((_BYTE *)this + 1840) ) { fmt::BasicWriter::operator<<(&v61, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v61, 0x6Eu); fmt::BasicWriter::operator<<(&v61, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>( &v61, *((unsigned __int8 *)this + 1840)); } if ( *((_BYTE *)this + 1841) ) { fmt::BasicWriter::operator<<(&v61, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v61, 0xD4u); fmt::BasicWriter::operator<<(&v61, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>( &v61, *((unsigned __int8 *)this + 1841)); } if ( *((float *)this + 461) != 0.0 ) { fmt::BasicWriter::operator<<(&v61, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v61, 0xD5u); fmt::BasicWriter::operator<<(&v61, &byte_1169BE0, 0); v20 = *((float *)this + 461); v35[1] = 32; v35[0] = 0; v35[2] = 0; v35[3] = 0; v35[4] = -1; v36 = 0; fmt::BasicWriter::FormatDouble(&v61, v35, v20); } if ( *((_BYTE *)this + 1852) ) { fmt::BasicWriter::operator<<(&v61, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v61, 0x1C5u); fmt::BasicWriter::operator<<(&v61, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>( &v61, *((unsigned __int8 *)this + 1852)); } if ( *((float *)this + 464) != 0.0 ) { fmt::BasicWriter::operator<<(&v61, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v61, 0x1C6u); fmt::BasicWriter::operator<<(&v61, &byte_1169BE0, 0); v14 = *((float *)this + 464); v37[1] = 32; v37[0] = 0; v37[2] = 0; v37[3] = 0; v37[4] = -1; v38 = 0; fmt::BasicWriter::FormatDouble(&v61, v37, v14); } if ( *((_BYTE *)this + 1860) ) { fmt::BasicWriter::operator<<(&v61, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v61, 0x1D1u); fmt::BasicWriter::operator<<(&v61, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>( &v61, *((unsigned __int8 *)this + 1860)); } } else if ( v7 == 1916 ) { if ( *((float *)this + 372) != 0.0 ) { fmt::BasicWriter::operator<<(&v61, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v61, 0x1Cu); fmt::BasicWriter::operator<<(&v61, &byte_1169BE0, 0); v27 = *((float *)this + 372); v53[1] = 32; v53[0] = 0; v53[2] = 0; v53[3] = 0; v53[4] = -1; v54 = 0; fmt::BasicWriter::FormatDouble(&v61, v53, v27); } if ( *((float *)this + 373) != 0.0 ) { fmt::BasicWriter::operator<<(&v61, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v61, 0x1Du); fmt::BasicWriter::operator<<(&v61, &byte_1169BE0, 0); v26 = *((float *)this + 373); v55[1] = 32; v55[0] = 0; v55[2] = 0; v55[3] = 0; v55[4] = -1; v56 = 0; fmt::BasicWriter::FormatDouble(&v61, v55, v26); } if ( *((float *)this + 363) != 0.0 ) { fmt::BasicWriter::operator<<(&v61, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v61, 0xAu); fmt::BasicWriter::operator<<(&v61, &byte_1169BE0, 0); v25 = *((float *)this + 363); v57[1] = 32; v57[0] = 0; v57[2] = 0; v57[3] = 0; v57[4] = -1; v58 = 0; fmt::BasicWriter::FormatDouble(&v61, v57, v25); } if ( *((_DWORD *)this + 374) ) { fmt::BasicWriter::operator<<(&v61, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v61, 0x1Eu); fmt::BasicWriter::operator<<(&v61, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>( &v61, *((_DWORD *)this + 374)); } if ( *((float *)this + 375) != 0.0 ) { fmt::BasicWriter::operator<<(&v61, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v61, 0x55u); fmt::BasicWriter::operator<<(&v61, &byte_1169BE0, 0); v24 = *((float *)this + 375); v59[1] = 32; v59[0] = 0; v59[2] = 0; v59[3] = 0; v59[4] = -1; v60 = 0; fmt::BasicWriter::FormatDouble(&v61, v59, v24); } if ( *((_DWORD *)this + 378) ) { fmt::BasicWriter::operator<<(&v61, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v61, 0x65u); fmt::BasicWriter::operator<<(&v61, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>( &v61, *((_DWORD *)this + 378)); } } } else if ( v7 == 2016 ) { if ( *((float *)this + 372) != 0.0 ) { fmt::BasicWriter::operator<<(&v61, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v61, 0x1Cu); fmt::BasicWriter::operator<<(&v61, &byte_1169BE0, 0); v19 = *((float *)this + 372); v45[1] = 32; v45[0] = 0; v45[2] = 0; v45[3] = 0; v45[4] = -1; v46 = 0; fmt::BasicWriter::FormatDouble(&v61, v45, v19); } if ( *((float *)this + 373) != 0.0 ) { fmt::BasicWriter::operator<<(&v61, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v61, 0x1Du); fmt::BasicWriter::operator<<(&v61, &byte_1169BE0, 0); v18 = *((float *)this + 373); v47[1] = 32; v47[0] = 0; v47[2] = 0; v47[3] = 0; v47[4] = -1; v48 = 0; fmt::BasicWriter::FormatDouble(&v61, v47, v18); } if ( *((float *)this + 436) != 0.0 ) { fmt::BasicWriter::operator<<(&v61, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v61, 0x173u); fmt::BasicWriter::operator<<(&v61, &byte_1169BE0, 0); v21 = *((float *)this + 436); v49[1] = 32; v49[0] = 0; v49[2] = 0; v49[3] = 0; v49[4] = -1; v50 = 0; fmt::BasicWriter::FormatDouble(&v61, v49, v21); } if ( *((float *)this + 466) != 0.0 ) { fmt::BasicWriter::operator<<(&v61, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v61, 0x1FAu); fmt::BasicWriter::operator<<(&v61, &byte_1169BE0, 0); v13 = *((float *)this + 466); v51[1] = 32; v51[0] = 0; v51[2] = 0; v51[3] = 0; v51[4] = -1; v52 = 0; fmt::BasicWriter::FormatDouble(&v61, v51, v13); } } else if ( v7 == 2062 ) { if ( *((_DWORD *)this + 366) ) { fmt::BasicWriter::operator<<(&v61, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v61, 0x33u); fmt::BasicWriter::operator<<(&v61, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>( &v61, *((_DWORD *)this + 366)); } if ( *((_DWORD *)this + 462) ) { fmt::BasicWriter::operator<<(&v61, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v61, 0xA4u); fmt::BasicWriter::operator<<(&v61, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>( &v61, *((_DWORD *)this + 462)); } } goto LABEL_21; } } else { v7 = *((_DWORD *)this + 257); v8 = v7 <= 2015; if ( v7 != 2015 ) goto LABEL_5; } if ( *((float *)this + 363) != 0.0 ) { fmt::BasicWriter::operator<<(&v61, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v61, 0xAu); fmt::BasicWriter::operator<<(&v61, &byte_1169BE0, 0); v22 = *((float *)this + 363); v39[1] = 32; v39[0] = 0; v39[2] = 0; v39[3] = 0; v39[4] = -1; v40 = 0; fmt::BasicWriter::FormatDouble(&v61, v39, v22); } if ( *((_DWORD *)this + 374) ) { fmt::BasicWriter::operator<<(&v61, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v61, 0x1Eu); fmt::BasicWriter::operator<<(&v61, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>( &v61, *((_DWORD *)this + 374)); } if ( *((float *)this + 375) != 0.0 ) { fmt::BasicWriter::operator<<(&v61, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v61, 0x55u); fmt::BasicWriter::operator<<(&v61, &byte_1169BE0, 0); v17 = *((float *)this + 375); v41[1] = 32; v41[0] = 0; v41[2] = 0; v41[3] = 0; v41[4] = -1; v42 = 0; fmt::BasicWriter::FormatDouble(&v61, v41, v17); } if ( *((float *)this + 386) != 0.0 ) { fmt::BasicWriter::operator<<(&v61, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v61, 0x44u); fmt::BasicWriter::operator<<(&v61, &byte_1169BE0, 0); v16 = *((float *)this + 386); v43[1] = 32; v43[0] = 0; v43[2] = 0; v43[3] = 0; v43[4] = -1; v44 = 0; fmt::BasicWriter::FormatDouble(&v61, v43, v16); } if ( *((_BYTE *)this + 1552) ) { fmt::BasicWriter::operator<<(&v61, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v61, 0x46u); fmt::BasicWriter::operator<<(&v61, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>( &v61, *((unsigned __int8 *)this + 1552)); } if ( *((_BYTE *)this + 1525) ) { fmt::BasicWriter::operator<<(&v61, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v61, 0x18Au); fmt::BasicWriter::operator<<(&v61, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>( &v61, *((unsigned __int8 *)this + 1525)); } LABEL_21: v9 = v61; if ( v62 < v61 + 1 ) fmt::internal::Array::grow(&v61, v61 + 1); v63[v9] = 0; *a3 = 0; v10 = v63; a3[1] = 0; a3[2] = 0; v28 = (char *)v10; v11 = strlen(v10); std::string::__init(a3, v28, v11); if ( v63 != v64 && v63 ) operator delete[](v63); return a3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source