//
// sub_140139470 from 0x140139470 to 0x140139527 (183 bytes)
//
// 9 xrefs:
// > CreatorLayer::init @ 0x140135fa8
// > CreatorLayer::checkTimedStatus @ 0x14013958d
// > CreatorLayer::checkTimedStatus @ 0x1401395e6
// > CreatorLayer::checkTimedStatus @ 0x14013963f
// > CreatorLayer::checkTimedStatus @ 0x14013969d
// > CreatorLayer::sceneWillResume @ 0x140139932
// > ??> @ 0x1408996dc
// > ??> @ 0x1408996ec
// > ??> @ 0x1409171e0
//
// 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:27:06 +0000
//
void __fastcall sub_140139470(__int64 a1, char a2)
{
struct cocos2d::CCSprite *v4; // rdi
__int64 v5; // rbx
__int64 v6; // rax
__int64 v7; // rax
char v8; // [rsp+30h] [rbp+8h] BYREF
char v9; // [rsp+40h] [rbp+18h] BYREF
if ( a1 )
{
(*(void (**)(void))(*(_QWORD *)a1 + 568LL))();
if ( a2 )
{
v4 = cocos2d::CCSprite::createWithSpriteFrameName("exMark_001.png");
(*(void (__fastcall **)(__int64, struct cocos2d::CCSprite *, __int64))(*(_QWORD *)a1 + 456LL))(a1, v4, 10);
(*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v4 + 160LL))(v4);
v5 = *(_QWORD *)v4;
v6 = (*(__int64 (__fastcall **)(__int64, char *))(*(_QWORD *)a1 + 328LL))(a1, &v8);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v9, 20.0, *(float *)(v6 + 4));
(*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(v5 + 184))(v4, v7);
}
}
}