//
// cocos2d::CCProfiler::releaseTimer from 0x180097f80 to 0x180098018 (152 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c09c0
//
// 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:22:10 +0000
//
// Hidden C++ exception states: #wind=1
void __fastcall cocos2d::CCProfiler::releaseTimer(cocos2d::CCDictionary **this, char *a2)
{
void *v3; // rcx
void *Block[3]; // [rsp+30h] [rbp-38h] BYREF
unsigned __int64 v5; // [rsp+48h] [rbp-20h]
sub_180005A10(Block, a2);
cocos2d::CCDictionary::removeObjectForKey(*(this + 7), (char *)Block);
if ( v5 > 0xF )
{
v3 = Block[0];
if ( v5 + 1 >= 0x1000 )
{
v3 = *((void **)Block[0] - 1);
if ( (unsigned __int64)((char *)Block[0] - (char *)v3 - 8) > 0x1F )
invoke_watson(nullptr, nullptr, nullptr, 0, 0);
}
j_j_free_0(v3);
}
}