//
// sub_4933A8 from 0x4933a8 to 0x49341c (116 bytes)
//
// 9 xrefs:
// > CreatorLayer::onGauntlets @ 0x49363c
// > CreatorLayer::onDailyLevel @ 0x493844
// > CreatorLayer::onWeeklyLevel @ 0x493876
// > CreatorLayer::onEventLevel @ 0x4938a8
// > CreatorLayer::checkQuestsStatus @ 0x493902
// > CreatorLayer::checkTimedStatus @ 0x49391c
// > CreatorLayer::checkTimedStatus @ 0x493932
// > CreatorLayer::checkTimedStatus @ 0x493948
// > CreatorLayer::checkTimedStatus @ 0x493960
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:49:39 +0000
//
int __fastcall sub_4933A8(int result, int a2)
{
int v3; // r5
const char *v4; // r1
int v5; // r4
int (__fastcall *v6)(int, _BYTE *); // r7
_BYTE v7[4]; // [sp+4h] [bp-18h] BYREF
float v8; // [sp+8h] [bp-14h]
_BYTE v9[8]; // [sp+Ch] [bp-10h] BYREF
v3 = result;
if ( result )
{
result = (*(int (__fastcall **)(int))(*(_DWORD *)result + 288))(result);
if ( a2 )
{
v5 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"exMark_001.png", v4);
(*(void (__fastcall **)(int, int, int))(*(_DWORD *)v3 + 232))(v3, v5, 10);
(*(void (__fastcall **)(int, int))(*(_DWORD *)v5 + 80))(v5, 1061997773);
v6 = *(int (__fastcall **)(int, _BYTE *))(*(_DWORD *)v5 + 92);
(*(void (__fastcall **)(_BYTE *, int))(*(_DWORD *)v3 + 168))(v7, v3);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, 20.0, v8);
return v6(v5, v9);
}
}
return result;
}