//
// sub_1403B6D60 from 0x1403b6d60 to 0x1403b6dec (140 bytes)
//
// 3 xrefs:
// > GJSmartTemplate::logTemplateStatus @ 0x1403bb001
// > GJSmartTemplate::getTemplateState @ 0x1403bb5ae
// > ??> @ 0x140923cd8
//
// This function is hookable on this platform (idp: pc, 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 11:31:24 +0000
//
// Hidden C++ exception states: #wind=2
_QWORD *__fastcall sub_1403B6D60(_QWORD *a1, _QWORD *a2)
{
__int64 v2; // rbx
v2 = (__int64)a2;
*(_OWORD *)a1 = 0;
a1[2] = 1;
a1[3] = 15;
*(_WORD *)a1 = 49;
if ( a2[3] > 0xFu )
a2 = (_QWORD *)*a2;
sub_140044D80(a1, a2, *(_QWORD *)(v2 + 16));
sub_14003D310(v2);
return a1;
}