//
// sub_100147378 from 0x100147378 to 0x100147390 (24 bytes)
//
// 1 xrefs:
// > PlayLayer::playGravityEffect @ 0x1001472a8
//
// 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 10:59:34 +0000
//
__int64 __fastcall sub_100147378(__int64 result)
{
int v1; // w8
int v2; // w8
v1 = *(_DWORD *)(result + 14380);
if ( v1 <= 0 )
v2 = 0;
else
v2 = v1 - 1;
*(_DWORD *)(result + 14380) = v2;
return result;
}