// // LevelBrowserLayer::keyDown from 0x1004872d0 to 0x1004873ba (234 bytes) // // 3 xrefs: // > sub_1004873C0 @ 0x1004873cc // > @ 0x100b204d0 // > @ 0x100b4cc98 // // 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:30:43 +0000 // void __fastcall LevelBrowserLayer::keyDown(__int64 a1, int a2, double a3, double a4, double a5, __m128 a6) { __int64 v6; // rbx __int64 v7; // rdi __int64 NextPageObject; // rax __int64 v9; // rdi if ( a2 > 1024 ) { if ( a2 == 1027 ) goto LABEL_10; if ( a2 != 1025 ) { LABEL_15: cocos2d::CCLayer::keyDown(a1); return; } } else if ( a2 != 37 ) { if ( a2 != 39 ) goto LABEL_15; LABEL_10: v6 = a1; v9 = *(_QWORD *)(a1 + 616); if ( v9 && (*(unsigned __int8 (__fastcall **)(__int64))(*(_QWORD *)v9 + 352LL))(v9) ) { *(_DWORD *)(GameManager::sharedState() + 964) = 0; *(_DWORD *)(GameManager::sharedState() + 968) = 0; NextPageObject = GJSearchObject::getNextPageObject(*(_QWORD *)(v6 + 664)); goto LABEL_13; } return; } v6 = a1; v7 = *(_QWORD *)(a1 + 624); if ( v7 && (*(unsigned __int8 (__fastcall **)(__int64))(*(_QWORD *)v7 + 352LL))(v7) ) { *(_DWORD *)(GameManager::sharedState() + 964) = 0; *(_DWORD *)(GameManager::sharedState() + 968) = 0; NextPageObject = GJSearchObject::getPrevPageObject(*(_QWORD *)(v6 + 664)); LABEL_13: LevelBrowserLayer::loadPage(v6, NextPageObject, a3, a4, a5, a6); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source