{"type": "func", "start": 5369453024, "end": 5369453182, "name": "ArtistCell::onYouTube", "pseudocode": "// \n// ArtistCell::onYouTube from 0x1400b59e0 to 0x1400b5a7e (158 bytes)\n// \n// 2 xrefs:\n// > ArtistCell::loadFromObject @ 0x1400b589e\n// > <???> @ 0x1406c7be4\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid ArtistCell::onYouTube(ArtistCell *a1, cocos2d::CCObject *a2)\n{\n  __int64 *v3; // rdi\n  const char *v4; // rdx\n  __int64 v5; // rbx\n  cocos2d::CCString *v6; // rax\n  const char *CString; // rax\n  _QWORD v8[4]; // [rsp+28h] [rbp-30h] BYREF\n\n  if ( a1->m_songInfo )\n  {\n    v3 = (__int64 *)cocos2d::CCApplication::sharedApplication(a1, a2);\n    sub_14003BDB0((__int64)v8, (__int64)&a1->m_songInfo->m_youtubeChannel);\n    v4 = (const char *)v8;\n    if ( v8[3] > 0xFu )\n      v4 = (const char *)v8[0];\n    v5 = *v3;\n    v6 = cocos2d::CCString::createWithFormat(\"https://www.youtube.com/channel/%s\", v4);\n    CString = cocos2d::CCString::getCString(v6);\n    (*(void (__fastcall **)(__int64 *, const char *))(v5 + 88))(v3, CString);\n    sub_14003A830((__int64)v8);\n  }\n}", "assembly": "; \n; ArtistCell::onYouTube from 0x1400b59e0 to 0x1400b5a7e (158 bytes)\n; \n; 2 xrefs:\n; > ArtistCell::loadFromObject @ 0x1400b589e\n; > <???> @ 0x1406c7be4\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x1400b59e0\npush    rdi                                                            ; +0x5, 0x1400b59e5\nsub     rsp, 50h                                                       ; +0x6, 0x1400b59e6\nmov     rax, cs:__security_cookie                                      ; +0xa, 0x1400b59ea\nxor     rax, rsp                                                       ; +0x11, 0x1400b59f1\nmov     [rsp+58h+var_10], rax                                          ; +0x14, 0x1400b59f4\nmov     rbx, rcx                                                       ; +0x19, 0x1400b59f9\ncmp     qword ptr [rcx+230h], 0                                        ; +0x1c, 0x1400b59fc\njz      short loc_1400B5A66                                            ; +0x24, 0x1400b5a04\ncall    cs:?sharedApplication@CCApplication@cocos2d@@SAPEAV12@XZ; cocos2d::CCApplication::sharedApplication(void) ; +0x26, 0x1400b5a06\nmov     rdi, rax                                                       ; +0x2c, 0x1400b5a0c\nmov     rdx, [rbx+230h]                                                ; +0x2f, 0x1400b5a0f\nadd     rdx, 1A8h                                                      ; +0x36, 0x1400b5a16\nlea     rcx, [rsp+58h+var_30]                                          ; +0x3d, 0x1400b5a1d\ncall    sub_14003BDB0                                                  ; +0x42, 0x1400b5a22\nnop                                                                    ; +0x47, 0x1400b5a27\nlea     rdx, [rsp+58h+var_30]                                          ; +0x48, 0x1400b5a28\ncmp     [rsp+58h+var_18], 0Fh                                          ; +0x4d, 0x1400b5a2d\ncmova   rdx, [rsp+58h+var_30]                                          ; +0x53, 0x1400b5a33\nmov     rbx, [rdi]                                                     ; +0x59, 0x1400b5a39\nlea     rcx, aHttpsWwwYoutub; \"https://www.youtube.com/channel/%s\"     ; +0x5c, 0x1400b5a3c\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x63, 0x1400b5a43\nmov     rcx, rax                                                       ; +0x69, 0x1400b5a49\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x6c, 0x1400b5a4c\nmov     rdx, rax                                                       ; +0x72, 0x1400b5a52\nmov     rcx, rdi                                                       ; +0x75, 0x1400b5a55\ncall    qword ptr [rbx+58h]                                            ; +0x78, 0x1400b5a58\nnop                                                                    ; +0x7b, 0x1400b5a5b\nlea     rcx, [rsp+58h+var_30]                                          ; +0x7c, 0x1400b5a5c\ncall    sub_14003A830                                                  ; +0x81, 0x1400b5a61\nmov     rcx, [rsp+58h+var_10]                                          ; +0x86, 0x1400b5a66\nxor     rcx, rsp; StackCookie                                          ; +0x8b, 0x1400b5a6b\ncall    __security_check_cookie                                        ; +0x8e, 0x1400b5a6e\nmov     rbx, [rsp+58h+arg_8]                                           ; +0x93, 0x1400b5a73\nadd     rsp, 50h                                                       ; +0x98, 0x1400b5a78\npop     rdi                                                            ; +0x9c, 0x1400b5a7c\nretn                                                                   ; +0x9d, 0x1400b5a7d", "xrefs": ["ArtistCell::loadFromObject @ 0x1400b589e", "<???> @ 0x1406c7be4"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}