//
// CreatorLayer::checkQuestsStatus from 0x100283b40 to 0x100283bec (172 bytes)
//
// 0 xrefs:
//
// 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:27:44 +0000
//
__int64 __fastcall CreatorLayer::checkQuestsStatus(__int64 a1, double a2)
{
__int64 v2; // rbx
__int64 result; // rax
char v4; // r14
char *v5; // r14
float v6; // [rsp+0h] [rbp-20h] BYREF
_BYTE v7[4]; // [rsp+8h] [rbp-18h] BYREF
float v8; // [rsp+Ch] [rbp-14h]
v2 = *(_QWORD *)(a1 + 440);
result = ChallengesPage::canCollectQuests();
if ( v2 )
{
v4 = result;
result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 576LL))(v2);
if ( v4 )
{
v5 = cocos2d::CCSprite::createWithSpriteFrameName((__int64)"exMark_001.png", a2);
(*(void (__fastcall **)(__int64, char *, __int64))(*(_QWORD *)v2 + 464LL))(v2, v5, 10);
(*(void (__fastcall **)(char *, float))(*(_QWORD *)v5 + 160LL))(v5, 0.80000001);
(*(void (__fastcall **)(_BYTE *, __int64))(*(_QWORD *)v2 + 336LL))(v7, v2);
sub_100278250(&v6, 20.0, v8);
return (*(__int64 (__fastcall **)(char *, float *))(*(_QWORD *)v5 + 184LL))(v5, &v6);
}
}
return result;
}