{"type": "func", "start": 5370136288, "end": 5370136581, "name": "GJNotificationCell::onViewTarget", "pseudocode": "// \n// GJNotificationCell::onViewTarget from 0x14015c6e0 to 0x14015c805 (293 bytes)\n// \n// 4 xrefs:\n// > GJNotificationCell::loadFromNotification @ 0x14015bfc6\n// > <???> @ 0x14089b5cc\n// > <???> @ 0x14089b5dc\n// > <???> @ 0x140917b4c\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:27:23 +0000\n// \n\nchar __fastcall GJNotificationCell::onViewTarget(__int64 a1)\n{\n  __int64 v1; // rax\n  __int64 v3; // rcx\n  __int64 v4; // rax\n  cocos2d::CCString *v5; // rax\n  const char *CString; // rax\n  size_t v7; // r8\n  __int64 v8; // rax\n  __int64 v9; // rdx\n  __int64 v10; // r8\n  __int64 v11; // r9\n  __int64 v12; // rcx\n  __int64 v13; // rdi\n  struct cocos2d::CCScene *v14; // rbx\n  __int64 v15; // rcx\n  __int64 v16; // rax\n  struct cocos2d::CCScene *v17; // rbx\n  __int64 v18; // rcx\n  cocos2d::CCDirector *v19; // rax\n  __int128 v21; // [rsp+20h] [rbp-28h] BYREF\n  __int64 v22; // [rsp+30h] [rbp-18h]\n  __int64 v23; // [rsp+38h] [rbp-10h]\n\n  v1 = *(_QWORD *)(a1 + 568);\n  if ( v1 )\n  {\n    v3 = *(unsigned int *)(v1 + 200);\n    if ( (int)v3 > 0 )\n    {\n      if ( *(_DWORD *)(v1 + 196) == 3 )\n      {\n        v4 = ProfilePage::create(v3, 0);\n        LOBYTE(v1) = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 1064LL))(v4);\n      }\n      else\n      {\n        v5 = cocos2d::CCString::createWithFormat((const char *)&word_1406ED6F8, (unsigned int)v3);\n        CString = cocos2d::CCString::getCString(v5);\n        v21 = 0;\n        v22 = 0;\n        v7 = -1;\n        v23 = 0;\n        do\n          ++v7;\n        while ( CString[v7] );\n        sub_14003D230(&v21, CString, v7);\n        v8 = GJSearchObject::create_1(0, &v21);\n        v12 = *(_QWORD *)(a1 + 568);\n        v13 = v8;\n        if ( *(_DWORD *)(v12 + 196) == 2 )\n          *(_DWORD *)(v8 + 464) = 1;\n        v14 = (struct cocos2d::CCScene *)cocos2d::CCScene::create(v12, v9, v10, v11);\n        *(_QWORD *)(cocos2d::CCApplication::sharedApplication(v15) + 232) = v14;\n        v16 = LevelBrowserLayer::create(v13);\n        (*(void (__fastcall **)(struct cocos2d::CCScene *, __int64))(*(_QWORD *)v14 + 464LL))(v14, v16);\n        v17 = cocos2d::CCTransitionFade::create(0.5, v14);\n        v19 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v18);\n        LOBYTE(v1) = cocos2d::CCDirector::pushScene(v19, v17);\n      }\n    }\n  }\n  return v1;\n}", "assembly": "; \n; GJNotificationCell::onViewTarget from 0x14015c6e0 to 0x14015c805 (293 bytes)\n; \n; 4 xrefs:\n; > GJNotificationCell::loadFromNotification @ 0x14015bfc6\n; > <???> @ 0x14089b5cc\n; > <???> @ 0x14089b5dc\n; > <???> @ 0x140917b4c\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:27:23 +0000\n; \npush    rbx                                                            ; +0x0, 0x14015c6e0\nsub     rsp, 40h                                                       ; +0x2, 0x14015c6e2\nmov     rax, [rcx+238h]                                                ; +0x6, 0x14015c6e6\nmov     rbx, rcx                                                       ; +0xd, 0x14015c6ed\ntest    rax, rax                                                       ; +0x10, 0x14015c6f0\njz      loc_14015C7FF                                                  ; +0x13, 0x14015c6f3\nmov     ecx, [rax+0C8h]                                                ; +0x19, 0x14015c6f9\ntest    ecx, ecx                                                       ; +0x1f, 0x14015c6ff\njle     loc_14015C7FF                                                  ; +0x21, 0x14015c701\ncmp     dword ptr [rax+0C4h], 3                                        ; +0x27, 0x14015c707\njnz     short loc_14015C72C                                            ; +0x2e, 0x14015c70e\nxor     edx, edx                                                       ; +0x30, 0x14015c710\ncall    ProfilePage__create                                            ; +0x32, 0x14015c712\nmov     rcx, [rax]                                                     ; +0x37, 0x14015c717\nmov     rdx, [rcx+428h]                                                ; +0x3a, 0x14015c71a\nmov     rcx, rax                                                       ; +0x41, 0x14015c721\nadd     rsp, 40h                                                       ; +0x44, 0x14015c724\npop     rbx                                                            ; +0x48, 0x14015c728\njmp     rdx                                                            ; +0x49, 0x14015c729\nmov     edx, ecx                                                       ; +0x4c, 0x14015c72c\nmov     [rsp+48h+arg_8], rdi                                           ; +0x4e, 0x14015c72e\nlea     rcx, word_1406ED6F8                                            ; +0x53, 0x14015c733\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x5a, 0x14015c73a\nmov     rcx, rax                                                       ; +0x60, 0x14015c740\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x63, 0x14015c743\nxor     ecx, ecx                                                       ; +0x69, 0x14015c749\nxorps   xmm0, xmm0                                                     ; +0x6b, 0x14015c74b\nmovups  [rsp+48h+var_28], xmm0                                         ; +0x6e, 0x14015c74e\nmov     [rsp+48h+var_18], rcx                                          ; +0x73, 0x14015c753\nmov     r8, 0FFFFFFFFFFFFFFFFh                                         ; +0x78, 0x14015c758\nmov     [rsp+48h+var_10], rcx                                          ; +0x7f, 0x14015c75f\ninc     r8                                                             ; +0x84, 0x14015c764\ncmp     [rax+r8], cl                                                   ; +0x87, 0x14015c767\njnz     short loc_14015C764                                            ; +0x8b, 0x14015c76b\nmov     rdx, rax                                                       ; +0x8d, 0x14015c76d\nlea     rcx, [rsp+48h+var_28]                                          ; +0x90, 0x14015c770\ncall    sub_14003D230                                                  ; +0x95, 0x14015c775\nlea     rdx, [rsp+48h+var_28]                                          ; +0x9a, 0x14015c77a\nxor     ecx, ecx                                                       ; +0x9f, 0x14015c77f\ncall    GJSearchObject__create_1                                       ; +0xa1, 0x14015c781\nmov     rcx, [rbx+238h]                                                ; +0xa6, 0x14015c786\nmov     rdi, rax                                                       ; +0xad, 0x14015c78d\ncmp     dword ptr [rcx+0C4h], 2                                        ; +0xb0, 0x14015c790\njnz     short loc_14015C7A3                                            ; +0xb7, 0x14015c797\nmov     dword ptr [rax+1D0h], 1                                        ; +0xb9, 0x14015c799\ncall    cs:?create@CCScene@cocos2d@@SAPEAV12@XZ; cocos2d::CCScene::create(void) ; +0xc3, 0x14015c7a3\nmov     rbx, rax                                                       ; +0xc9, 0x14015c7a9\ncall    cs:?sharedApplication@CCApplication@cocos2d@@SAPEAV12@XZ; cocos2d::CCApplication::sharedApplication(void) ; +0xcc, 0x14015c7ac\nmov     rcx, rdi                                                       ; +0xd2, 0x14015c7b2\nmov     [rax+0E8h], rbx                                                ; +0xd5, 0x14015c7b5\ncall    LevelBrowserLayer__create                                      ; +0xdc, 0x14015c7bc\nmov     rcx, [rbx]                                                     ; +0xe1, 0x14015c7c1\nmov     rdx, rax                                                       ; +0xe4, 0x14015c7c4\nmov     r8, [rcx+1D0h]                                                 ; +0xe7, 0x14015c7c7\nmov     rcx, rbx                                                       ; +0xee, 0x14015c7ce\ncall    r8                                                             ; +0xf1, 0x14015c7d1\nmovss   xmm0, cs:dword_140834F20                                       ; +0xf4, 0x14015c7d4\nmov     rdx, rbx                                                       ; +0xfc, 0x14015c7dc\ncall    cs:?create@CCTransitionFade@cocos2d@@SAPEAV12@MPEAVCCScene@2@@Z; cocos2d::CCTransitionFade::create(float,cocos2d::CCScene *) ; +0xff, 0x14015c7df\nmov     rbx, rax                                                       ; +0x105, 0x14015c7e5\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x108, 0x14015c7e8\nmov     rcx, rax                                                       ; +0x10e, 0x14015c7ee\nmov     rdx, rbx                                                       ; +0x111, 0x14015c7f1\ncall    cs:?pushScene@CCDirector@cocos2d@@QEAA_NPEAVCCScene@2@@Z; cocos2d::CCDirector::pushScene(cocos2d::CCScene *) ; +0x114, 0x14015c7f4\nmov     rdi, [rsp+48h+arg_8]                                           ; +0x11a, 0x14015c7fa\nadd     rsp, 40h                                                       ; +0x11f, 0x14015c7ff\npop     rbx                                                            ; +0x123, 0x14015c803\nretn                                                                   ; +0x124, 0x14015c804", "xrefs": ["GJNotificationCell::loadFromNotification @ 0x14015bfc6", "<???> @ 0x14089b5cc", "<???> @ 0x14089b5dc", "<???> @ 0x140917b4c"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}