// // GJSmartTemplate::keyFromNeighborsOld from 0xb11fb0 to 0xb121c8 (536 bytes) // // 2 xrefs: // > GJSmartTemplate::generateRemapDict @ 0xb12464 // > @ 0xd9660 // // 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 13:01:29 +0000 // __int64 *__usercall GJSmartTemplate::keyFromNeighborsOld@( GJSmartTemplate *this@, unsigned __int8 a2@, unsigned __int8 a3@, unsigned __int8 a4@, unsigned __int8 a5@, unsigned __int8 a6@, unsigned __int8 a7@, unsigned __int8 a8@, __int64 *a9@, bool a10) { unsigned int v10; // w28 unsigned int v11; // w27 unsigned int v12; // w26 unsigned int v13; // w25 unsigned int v15; // w24 unsigned int v16; // w23 unsigned int v17; // w22 unsigned int v18; // w21 size_t v19; // x21 const char *v20; // x1 size_t v21; // x0 char *v23; // [xsp+68h] [xbp+68h] size_t v24; // [xsp+B8h] [xbp+B8h] BYREF unsigned __int64 v25; // [xsp+C0h] [xbp+C0h] char *v26; // [xsp+C8h] [xbp+C8h] _BYTE v27[504]; // [xsp+D0h] [xbp+D0h] BYREF v10 = (unsigned __int8)this; v11 = a2; v12 = a3; v13 = a4; v24 = 0; v25 = 500; v15 = a5; v26 = v27; v16 = a6; v17 = a7; v18 = a8; fmt::BasicWriter::FormatInt,char>>(&v24, 1u); fmt::BasicWriter::FormatInt,char>>(&v24, v10); fmt::BasicWriter::FormatInt,char>>(&v24, v11); fmt::BasicWriter::FormatInt,char>>(&v24, v12); fmt::BasicWriter::FormatInt,char>>(&v24, v13); fmt::BasicWriter::FormatInt,char>>(&v24, v15); fmt::BasicWriter::FormatInt,char>>(&v24, v16); fmt::BasicWriter::FormatInt,char>>(&v24, v17); fmt::BasicWriter::FormatInt,char>>(&v24, v18); v19 = v24; if ( v25 < v24 + 1 ) fmt::internal::Array::grow(&v24, v24 + 1); v26[v19] = 0; *a9 = 0; v20 = v26; a9[1] = 0; a9[2] = 0; v23 = (char *)v20; v21 = strlen(v20); std::string::__init(a9, v23, v21); if ( v26 != v27 && v26 ) operator delete[](v26); return a9; }
GD Web Decomp Icon

GD Web Decomp

Raw Source