//
// InfoLayer::onOriginal from 0x1403d06c0 to 0x1403d077e (190 bytes)
//
// 2 xrefs:
// > InfoLayer::init @ 0x1403cecde
// > ??> @ 0x1409246c8
//
// 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:31:35 +0000
//
__int64 __fastcall InfoLayer::onOriginal(__int64 a1)
{
cocos2d::CCString *v2; // rax
const char *CString; // rax
size_t v4; // r8
__int64 v5; // rax
struct cocos2d::CCScene *v6; // rax
struct cocos2d::CCScene *v7; // rbx
__int64 v8; // rcx
cocos2d::CCDirector *v9; // rax
__int128 v11; // [rsp+20h] [rbp-28h] BYREF
__int64 v12; // [rsp+30h] [rbp-18h]
__int64 v13; // [rsp+38h] [rbp-10h]
v2 = cocos2d::CCString::createWithFormat(
(const char *)&word_1406ED6F8,
(unsigned int)(*(_DWORD *)(*(_QWORD *)(a1 + 696) + 1060LL) - *(_DWORD *)(*(_QWORD *)(a1 + 696) + 1064LL)));
CString = cocos2d::CCString::getCString(v2);
v11 = 0;
v12 = 0;
v4 = -1;
v13 = 0;
do
++v4;
while ( CString[v4] );
sub_14003D230(&v11, CString, v4);
v5 = GJSearchObject::create_1(0, (__int64)&v11);
v6 = (struct cocos2d::CCScene *)LevelBrowserLayer::scene(v5);
v7 = cocos2d::CCTransitionFade::create(0.5, v6);
v9 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v8);
cocos2d::CCDirector::replaceScene(v9, v7);
return (*(__int64 (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 552) + 1040LL))(*(_QWORD *)(a1 + 552), 0);
}