//
// sub_100254B84 from 0x100254b84 to 0x100254c00 (124 bytes)
//
// 3 xrefs:
// > GauntletSelectLayer::keyBackClicked @ 0x100255b38
// > sub_100255B3C @ 0x100255b40
// > GauntletSelectLayer::init @ 0x1002547ac
//
// 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:01:33 +0000
//
__int64 __fastcall sub_100254B84(__int64 result)
{
_WORD *v1; // x19
__int64 v2; // x19
_QWORD *v3; // x0
void *v4; // x1
if ( (*(_BYTE *)(result + 473) & 1) == 0 )
{
v1 = (_WORD *)result;
if ( (*(_BYTE *)(result + 513) & 1) == 0 )
{
*(_DWORD *)(GameManager::sharedState(result) + 1084) = 1;
v1[236] = 257;
(*(void (__fastcall **)(_WORD *, _QWORD))(*(_QWORD *)v1 + 1072LL))(v1, 0);
v2 = cocos2d::CCDirector::sharedDirector();
v3 = CreatorLayer::scene();
v4 = (void *)cocos2d::CCTransitionFade::create_1(v3, 0.5);
return cocos2d::CCDirector::replaceScene(v2, v4);
}
}
return result;
}