//
// sub_1001BFE2C from 0x1001bfe2c to 0x1001bfed8 (172 bytes)
//
// 1 xrefs:
// > PauseLayer::customSetup @ 0x1001be954
//
// 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 11:00:14 +0000
//
__int64 __fastcall sub_1001BFE2C(__int64 a1)
{
__int64 result; // x0
__int64 v3; // x0
__int64 v4; // x20
float v5; // [xsp+8h] [xbp-18h] BYREF
result = *(_QWORD *)(a1 + 664);
if ( result )
{
v3 = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)result + 560LL))(result, 99);
result = ChallengesPage::canCollectQuests(v3);
if ( (_DWORD)result )
{
v4 = cocos2d::CCSprite::createWithSpriteFrameName("exMark_001.png");
(*(void (__fastcall **)(_QWORD, __int64, __int64, __int64))(**(_QWORD **)(a1 + 664) + 472LL))(
*(_QWORD *)(a1 + 664),
v4,
10,
99);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v4 + 160LL))(v4, 0.3);
sub_1000262BC(&v5, 6.0, 22.0);
return (*(__int64 (__fastcall **)(__int64, float *))(*(_QWORD *)v4 + 184LL))(v4, &v5);
}
}
return result;
}