// // GJNotificationCell::onViewTarget from 0x1002416e0 to 0x10024183f (351 bytes) // // 1 xrefs: // > GJNotificationCell::loadFromNotification @ 0x100234ad2 // // 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:27:18 +0000 // __int64 __fastcall GJNotificationCell::onViewTarget(__int64 a1) { __int64 result; // rax int v2; // esi __int64 v3; // rax __int64 v5; // rax const char *CString; // r14 size_t v7; // rax size_t v8; // rbx char *v9; // r15 size_t v10; // r12 void *v11; // rdi __int64 v12; // rbx __int64 v13; // r14 __int64 v14; // rax char *v15; // rax _QWORD __dst[2]; // [rsp+0h] [rbp-40h] BYREF void *__p; // [rsp+10h] [rbp-30h] result = *(_QWORD *)(a1 + 560); if ( !result ) return result; v2 = *(_DWORD *)(result + 168); if ( v2 <= 0 ) return result; if ( *(_DWORD *)(result + 164) == 3 ) { v3 = ProfilePage::create((unsigned int)v2, 0); return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 1312LL))(v3); } v5 = sub_10088E820("%i", __dst[0]); CString = (const char *)cocos2d::CCString::getCString(v5); v7 = strlen(CString); if ( v7 >= 0xFFFFFFFFFFFFFFF8LL ) sub_100003630(); v8 = v7; if ( v7 >= 0x17 ) { v10 = 26; if ( (v7 | 7) != 0x17 ) v10 = (v7 | 7) + 1; v9 = (char *)operator new(v10); __p = v9; __dst[0] = v10 + 1; __dst[1] = v8; } else { LOBYTE(__dst[0]) = 2 * v7; v9 = (char *)__dst + 1; if ( !v7 ) goto LABEL_13; } memmove(v9, CString, v8); LABEL_13: v9[v8] = 0; v11 = nullptr; v12 = GJSearchObject::create_1(0, __dst); if ( (__dst[0] & 1) != 0 ) { v11 = __p; operator delete(__p); } if ( *(_DWORD *)(*(_QWORD *)(a1 + 560) + 164LL) == 2 ) *(_DWORD *)(v12 + 432) = 1; v13 = cocos2d::CCDirector::sharedDirector(v11, __dst); v14 = LevelBrowserLayer::scene(v12); v15 = cocos2d::CCTransitionFade::create_1(v14, 0.5); return cocos2d::CCDirector::pushScene(v13, v15); }
GD Web Decomp Icon

GD Web Decomp

Raw Source