//
// sub_1002D5530 from 0x1002d5530 to 0x1002d554e (30 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::activateProgressTrigger @ 0x100107a78
//
// 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 12:28:15 +0000
//
__int64 __fastcall sub_1002D5530(__int64 a1, int a2)
{
__int64 result; // rax
int v3; // ecx
result = 0;
if ( a2 > 0 )
result = (unsigned int)a2;
v3 = 99;
if ( (int)result < 99 )
v3 = result;
*(_DWORD *)(a1 + 832) = v3;
return result;
}