// // GJSmartTemplate::getNoCornerKey from 0x670134 to 0x6701ec (184 bytes) // // 8 xrefs: // > GJSmartTemplate::saveRemap @ 0x670278 // > GJSmartTemplate::saveRemap @ 0x6702bc // > GJSmartTemplate::saveRemap @ 0x670358 // > GJSmartTemplate::saveRemap @ 0x6703f4 // > GJSmartTemplate::getPrefab @ 0x6710f0 // > GJSmartTemplate::getPrefab @ 0x671154 // > GJSmartTemplate::getPrefab @ 0x6711c4 // > GJSmartTemplate::scanForPrefab @ 0x671d1c // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 11:55:50 +0000 // int *__fastcall GJSmartTemplate::getNoCornerKey(int *a1, int a2, unsigned __int8 *a3) { int v4; // r2 size_t v6; // r2 const void *v7; // r1 int v8; // r0 int v9; // r1 int v10; // r2 int v12; // [sp+0h] [bp-14h] BYREF int v13; // [sp+4h] [bp-10h] int v14; // [sp+8h] [bp-Ch] v4 = *a3; if ( (v4 & 1) != 0 ) { v6 = *((_DWORD *)a3 + 1); if ( !v6 ) goto LABEL_5; v7 = *((const void **)a3 + 2); v12 = 0; v13 = 0; v14 = 0; } else { v6 = v4 >> 1; if ( !v6 ) { LABEL_5: *a1 = 0; a1[1] = 0; a1[2] = 0; std::string::__init(a1, &unk_B6B226, 0); return a1; } v12 = 0; v7 = a3 + 1; v13 = 0; v14 = 0; } if ( v6 >= 5 ) v6 = 5; std::string::__init(&v12, v7, v6); std::string::append(&v12, "0000", 4u); if ( sub_66E7A8((unsigned __int8 *)&v12, a3) ) { *a1 = 0; a1[1] = 0; a1[2] = 0; std::string::__init(a1, &unk_B6B226, 0); } else { v8 = v12; v9 = v13; v10 = v14; v12 = 0; v13 = 0; v14 = 0; *a1 = v8; a1[1] = v9; a1[2] = v10; } std::string::~string((int)&v12); return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source