// // InfoLayer::onSimilar from 0x908168 to 0x90826c (260 bytes) // // 1 xrefs: // > @ 0xc1450 // // 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 12:57:10 +0000 // __int64 __fastcall InfoLayer::onSimilar(InfoLayer *this, cocos2d::CCObject *a2) { cocos2d::CCDirector *v3; // x22 cocos2d::CCString *v4; // x0 size_t v5; // x0 LevelBrowserLayer *v6; // x0 GJSearchObject *v7; // x1 AppDelegate *v8; // x0 cocos2d::CCScene *v9; // x1 cocos2d::CCScene *v10; // x0 char *CString; // [xsp+38h] [xbp+38h] __int64 v13[2]; // [xsp+40h] [xbp+40h] BYREF void *v14; // [xsp+50h] [xbp+50h] v3 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(_stack_chk_guard); v4 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%i", (const char *)(unsigned int)(*(_DWORD *)(*((_QWORD *)this + 87) + 328LL) - *(_DWORD *)(*((_QWORD *)this + 87) + 332LL))); v13[0] = 0; CString = (char *)cocos2d::CCString::getCString(v4); v13[1] = 0; v14 = nullptr; v5 = strlen(CString); std::string::__init(v13, CString, v5); v6 = (LevelBrowserLayer *)GJSearchObject::create(18, (char *)v13); v8 = LevelBrowserLayer::scene(v6, v7); v10 = (cocos2d::CCScene *)cocos2d::CCTransitionFade::create(v8, 0.5, v9); cocos2d::CCDirector::replaceScene(v3, v10); if ( (v13[0] & 1) != 0 ) operator delete(v14); (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 69) + 1272LL))(*((_QWORD *)this + 69), 0); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source