// // GameOptionsTrigger::getSaveString from 0x8a87d4 to 0x8a8f44 (1904 bytes) // // 2 xrefs: // > @ 0xe72c8 // > @ 0x14469b0 // // 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:20 +0000 // __int64 *__usercall GameOptionsTrigger::getSaveString@( GameOptionsTrigger *this@, GJBaseGameLayer *a2@, __int64 *a3@) { const char *v5; // x1 size_t v6; // x2 size_t v7; // x20 const char *v8; // x1 size_t v9; // x0 double v11; // d0 char *v12; // [xsp+48h] [xbp+48h] __int64 v13[2]; // [xsp+128h] [xbp+128h] BYREF char *v14; // [xsp+138h] [xbp+138h] _DWORD v15[5]; // [xsp+140h] [xbp+140h] BYREF char v16; // [xsp+154h] [xbp+154h] size_t v17; // [xsp+158h] [xbp+158h] BYREF unsigned __int64 v18; // [xsp+160h] [xbp+160h] char *v19; // [xsp+168h] [xbp+168h] _BYTE v20[504]; // [xsp+170h] [xbp+170h] BYREF v17 = 0; v18 = 500; v19 = v20; EffectGameObject::getSaveString(this, a2, v13); if ( (v13[0] & 1) != 0 ) { v5 = v14; v6 = v13[1]; } else { v5 = (char *)v13 + 1; v6 = LOBYTE(v13[0]) >> 1; } fmt::BasicWriter::operator<<(&v17, v5, v6); if ( (v13[0] & 1) != 0 ) { operator delete(v14); if ( !*((_DWORD *)this + 460) ) { LABEL_5: if ( !*((_DWORD *)this + 461) ) goto LABEL_6; goto LABEL_27; } } else if ( !*((_DWORD *)this + 460) ) { goto LABEL_5; } fmt::BasicWriter::operator<<(&v17, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v17, 0x9Fu); fmt::BasicWriter::operator<<(&v17, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>( &v17, *((_DWORD *)this + 460)); if ( !*((_DWORD *)this + 461) ) { LABEL_6: if ( !*((_DWORD *)this + 462) ) goto LABEL_7; goto LABEL_28; } LABEL_27: fmt::BasicWriter::operator<<(&v17, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v17, 0xA0u); fmt::BasicWriter::operator<<(&v17, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>( &v17, *((_DWORD *)this + 461)); if ( !*((_DWORD *)this + 462) ) { LABEL_7: if ( !*((_DWORD *)this + 463) ) goto LABEL_8; goto LABEL_29; } LABEL_28: fmt::BasicWriter::operator<<(&v17, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v17, 0xA1u); fmt::BasicWriter::operator<<(&v17, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>( &v17, *((_DWORD *)this + 462)); if ( !*((_DWORD *)this + 463) ) { LABEL_8: if ( !*((_DWORD *)this + 464) ) goto LABEL_9; goto LABEL_30; } LABEL_29: fmt::BasicWriter::operator<<(&v17, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v17, 0xA2u); fmt::BasicWriter::operator<<(&v17, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>( &v17, *((_DWORD *)this + 463)); if ( !*((_DWORD *)this + 464) ) { LABEL_9: if ( !*((_DWORD *)this + 465) ) goto LABEL_10; goto LABEL_31; } LABEL_30: fmt::BasicWriter::operator<<(&v17, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v17, 0xA3u); fmt::BasicWriter::operator<<(&v17, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>( &v17, *((_DWORD *)this + 464)); if ( !*((_DWORD *)this + 465) ) { LABEL_10: if ( !*((_DWORD *)this + 466) ) goto LABEL_11; goto LABEL_32; } LABEL_31: fmt::BasicWriter::operator<<(&v17, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v17, 0xA5u); fmt::BasicWriter::operator<<(&v17, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>( &v17, *((_DWORD *)this + 465)); if ( !*((_DWORD *)this + 466) ) { LABEL_11: if ( !*((_DWORD *)this + 467) ) goto LABEL_12; goto LABEL_33; } LABEL_32: fmt::BasicWriter::operator<<(&v17, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v17, 0xC7u); fmt::BasicWriter::operator<<(&v17, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>( &v17, *((_DWORD *)this + 466)); if ( !*((_DWORD *)this + 467) ) { LABEL_12: if ( !*((_DWORD *)this + 468) ) goto LABEL_13; goto LABEL_34; } LABEL_33: fmt::BasicWriter::operator<<(&v17, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v17, 0xC3u); fmt::BasicWriter::operator<<(&v17, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>( &v17, *((_DWORD *)this + 467)); if ( !*((_DWORD *)this + 468) ) { LABEL_13: if ( !*((_DWORD *)this + 469) ) goto LABEL_14; goto LABEL_35; } LABEL_34: fmt::BasicWriter::operator<<(&v17, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v17, 0x214u); fmt::BasicWriter::operator<<(&v17, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>( &v17, *((_DWORD *)this + 468)); if ( !*((_DWORD *)this + 469) ) { LABEL_14: if ( *((float *)this + 470) == 0.0 ) goto LABEL_15; goto LABEL_36; } LABEL_35: fmt::BasicWriter::operator<<(&v17, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v17, 0x23Du); fmt::BasicWriter::operator<<(&v17, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>( &v17, *((_DWORD *)this + 469)); if ( *((float *)this + 470) == 0.0 ) { LABEL_15: if ( !*((_DWORD *)this + 471) ) goto LABEL_16; goto LABEL_37; } LABEL_36: fmt::BasicWriter::operator<<(&v17, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v17, 0x23Eu); fmt::BasicWriter::operator<<(&v17, &byte_1169BE0, 0); v11 = *((float *)this + 470); v15[1] = 32; v15[0] = 0; v15[2] = 0; v15[3] = 0; v15[4] = -1; v16 = 0; fmt::BasicWriter::FormatDouble(&v17, v15, v11); if ( !*((_DWORD *)this + 471) ) { LABEL_16: if ( !*((_DWORD *)this + 472) ) goto LABEL_17; LABEL_38: fmt::BasicWriter::operator<<(&v17, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v17, 0x240u); fmt::BasicWriter::operator<<(&v17, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>( &v17, *((_DWORD *)this + 472)); if ( !*((_DWORD *)this + 473) ) goto LABEL_18; goto LABEL_39; } LABEL_37: fmt::BasicWriter::operator<<(&v17, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v17, 0x23Fu); fmt::BasicWriter::operator<<(&v17, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>( &v17, *((_DWORD *)this + 471)); if ( *((_DWORD *)this + 472) ) goto LABEL_38; LABEL_17: if ( !*((_DWORD *)this + 473) ) goto LABEL_18; LABEL_39: fmt::BasicWriter::operator<<(&v17, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>(&v17, 0x251u); fmt::BasicWriter::operator<<(&v17, &byte_1169BE0, 0); fmt::BasicWriter::FormatInt,char>>( &v17, *((_DWORD *)this + 473)); LABEL_18: v7 = v17; if ( v18 < v17 + 1 ) fmt::internal::Array::grow(&v17, v17 + 1); v19[v7] = 0; *a3 = 0; v8 = v19; a3[1] = 0; a3[2] = 0; v12 = (char *)v8; v9 = strlen(v8); std::string::__init(a3, v12, v9); if ( v19 != v20 && v19 ) operator delete[](v19); return a3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source