// // GJSmartTemplate::getVerySimplifiedKey from 0x53992c to 0x5399b4 (136 bytes) // // 6 xrefs: // > GJSmartTemplate::saveRemap @ 0x53a66e // > GJSmartTemplate::saveRemap @ 0x53a70a // > GJSmartTemplate::getPrefab @ 0x53a98c // > GJSmartTemplate::getPrefab @ 0x53a9ba // > GJSmartTemplate::getPrefab @ 0x53aa0c // > GJSmartTemplate::getPrefab @ 0x53aa48 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // _DWORD *__fastcall GJSmartTemplate::getVerySimplifiedKey(int a1, _DWORD *a2) { _DWORD *v2; // r7 int v4; // r5 int v5; // r8 v2 = (_DWORD *)a1; if ( !*(_DWORD *)(*a2 - 12) ) goto LABEL_9; v4 = 1; v5 = 0; do { if ( (unsigned int)*(unsigned __int8 *)sub_7757BC(a2, v4) - 48 > 1 ) { v5 = 1; sub_775170(a2); *(_BYTE *)(*a2 + v4) = 49; } ++v4; } while ( v4 != 9 ); if ( !v5 ) { a1 = (int)v2; LABEL_9: sub_776584(a1, (char *)&unk_939830); return v2; } *v2 = *a2; *a2 = &unk_ACDDA8; return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source