// // GJSmartTemplate::getNoCornerKey from 0xb0ef58 to 0xb0f0f8 (416 bytes) // // 9 xrefs: // > GJSmartTemplate::saveRemap @ 0xb0f218 // > GJSmartTemplate::saveRemap @ 0xb0f2a8 // > GJSmartTemplate::saveRemap @ 0xb0f400 // > GJSmartTemplate::saveRemap @ 0xb0f55c // > GJSmartTemplate::getPrefab @ 0xb10d90 // > GJSmartTemplate::getPrefab @ 0xb10e28 // > GJSmartTemplate::getPrefab @ 0xb10fd0 // > GJSmartTemplate::scanForPrefab @ 0xb12b6c // > @ 0xfe5d8 // // 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:27 +0000 // __int64 *__usercall GJSmartTemplate::getNoCornerKey@(unsigned __int8 *a1@, __int64 *a2@) { int v4; // w2 size_t v5; // x2 const void *v6; // x1 _BYTE *v7; // x23 __int64 v8; // x0 __int64 v9; // x1 void *v10; // x2 __int64 v12; // [xsp+40h] [xbp+40h] BYREF __int64 v13; // [xsp+48h] [xbp+48h] void *v14; // [xsp+50h] [xbp+50h] v4 = *a1; if ( (v4 & 1) == 0 ) { LODWORD(v5) = v4 >> 1; if ( (_DWORD)v5 ) { v12 = 0; v13 = 0; v5 = (int)v5; v14 = nullptr; v6 = a1 + 1; if ( (int)v5 > 4 ) goto LABEL_4; goto LABEL_10; } LABEL_11: *a2 = 0; a2[1] = 0; a2[2] = 0; std::string::__init(a2, &byte_11B8890, 0); return a2; } v5 = *((_QWORD *)a1 + 1); if ( !v5 ) goto LABEL_11; v12 = 0; v13 = 0; v14 = nullptr; v6 = *((const void **)a1 + 2); if ( v5 > 4 ) { LABEL_4: v7 = (char *)&v12 + 6; LOBYTE(v12) = 10; v5 = 5; goto LABEL_5; } LABEL_10: LOBYTE(v12) = 2 * v5; v7 = (char *)&v12 + v5 + 1; LABEL_5: memcpy((char *)&v12 + 1, v6, v5); *v7 = 0; std::string::append((__int64)&v12, "0000", 4u); if ( sub_B0BDB0((__int64)&v12, (__int64)a1) ) { *a2 = 0; a2[1] = 0; a2[2] = 0; std::string::__init(a2, &byte_11B8890, 0); if ( (v12 & 1) == 0 ) return a2; LABEL_13: operator delete(v14); return a2; } v8 = v12; v9 = v13; v12 = 0; v10 = v14; *a2 = v8; a2[1] = v9; LOBYTE(v8) = v12; a2[2] = (__int64)v10; v13 = 0; v14 = nullptr; if ( (v8 & 1) != 0 ) goto LABEL_13; return a2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source