// // GJNotificationCell::onViewTarget from 0x428030 to 0x4280ea (186 bytes) // // 0 xrefs: // // 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:48:05 +0000 // int __fastcall GJNotificationCell::onViewTarget(int this, cocos2d::CCObject *a2, int a3, int a4) { int v4; // r7 int v5; // r2 const char *v6; // r1 int v7; // r0 cocos2d::CCString *v8; // r0 const char *CString; // r8 size_t v10; // r0 LevelBrowserLayer *v11; // r5 cocos2d::CCDirector *v12; // r0 cocos2d::CCDirector *v13; // r4 GJSearchObject *v14; // r1 float v15; // r0 cocos2d::CCScene *v16; // r2 cocos2d::CCScene *v17; // r0 int v18; // [sp+0h] [bp-10h] BYREF cocos2d::CCObject *v19; // [sp+4h] [bp-Ch] int v20; // [sp+8h] [bp-8h] int v21; // [sp+Ch] [bp-4h] v18 = this; v19 = a2; v20 = a3; v21 = a4; v4 = this; v5 = *(_DWORD *)(this + 424); if ( v5 ) { v6 = *(const char **)(v5 + 116); if ( (int)v6 > 0 ) { if ( *(_DWORD *)(v5 + 112) == 3 ) { v7 = ProfilePage::create(*(ProfilePage **)(v5 + 116), 0, v5); return (*(int (__fastcall **)(int))(*(_DWORD *)v7 + 656))(v7); } else { v8 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", v6); v18 = 0; v19 = nullptr; v20 = 0; CString = (const char *)cocos2d::CCString::getCString(v8); v10 = strlen(CString); std::string::__init(&v18, CString, v10); v11 = (LevelBrowserLayer *)GJSearchObject::create(0, &v18); v12 = (cocos2d::CCDirector *)std::string::~string((int)&v18); if ( *(_DWORD *)(*(_DWORD *)(v4 + 424) + 112) == 2 ) *((_DWORD *)v11 + 86) = 1; v13 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v12); v15 = COERCE_FLOAT(LevelBrowserLayer::scene(v11, v14)); v17 = (cocos2d::CCScene *)cocos2d::CCTransitionFade::create((cocos2d::CCTransitionFade *)0x3F000000, v15, v16); return cocos2d::CCDirector::pushScene(v13, v17); } } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source