{"type": "func", "start": 3339700, "end": 3339808, "name": "ArtistCell::onYouTube", "pseudocode": "// \n// ArtistCell::onYouTube from 0x32f5b4 to 0x32f620 (108 bytes)\n// \n// 0 xrefs:\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  cocos2d::CCApplication *v3; // r6\n  void (__fastcall *openURL)(cocos2d::CCApplication *__hidden, const unsigned __int8 *); // r8\n  cocos2d::CCString *v5; // r0\n  const char *CString; // r0\n  char *v7[2]; // [sp+0h] [bp-8h] BYREF\n\n  v7[0] = (char *)a1;\n  v7[1] = (char *)a2;\n  if ( a1->m_songInfo )\n  {\n    v3 = cocos2d::CCApplication::sharedApplication();\n    openURL = v3->openURL;\n    sub_775C20(v7, &a1->m_songInfo->m_youtubeChannel);\n    v5 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(\n                                (cocos2d::CCString *)\"https://www.youtube.com/channel/%s\",\n                                v7[0]);\n    CString = cocos2d::CCString::getCString(v5);\n    openURL(v3, (const unsigned __int8 *)CString);\n    sub_774008(v7);\n  }\n}", "assembly": "; \n; ArtistCell::onYouTube from 0x32f5b4 to 0x32f620 (108 bytes)\n; \n; 0 xrefs:\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\nLDR             R3, =(__stack_chk_guard_ptr - 0x32F5BE)                ; +0x0, 0x32f5b4\nPUSH.W          {R0,R1,R4-R8,LR}                                       ; +0x2, 0x32f5b6\nADD             R3, PC; __stack_chk_guard_ptr                          ; +0x6, 0x32f5ba\nLDR             R3, [R3]; __stack_chk_guard                            ; +0x8, 0x32f5bc\nMOV             R7, R0                                                 ; +0xa, 0x32f5be\nLDR             R2, [R3]                                               ; +0xc, 0x32f5c0\nMOV             R4, R3                                                 ; +0xe, 0x32f5c2\nSTR             R2, [SP,#8+var_4]                                      ; +0x10, 0x32f5c4\nLDR.W           R2, [R0,#0x19C]                                        ; +0x12, 0x32f5c6\nCBZ             R2, loc_32F60E                                         ; +0x16, 0x32f5ca\nBL              _ZN7cocos2d13CCApplication17sharedApplicationEv; cocos2d::CCApplication::sharedApplication(void) ; +0x18, 0x32f5cc\nLDR.W           R1, [R7,#0x19C]                                        ; +0x1c, 0x32f5d0\nMOV             R5, SP                                                 ; +0x20, 0x32f5d4\nADD.W           R1, R1, #0x118                                         ; +0x22, 0x32f5d6\nLDR             R3, [R0]                                               ; +0x26, 0x32f5da\nMOV             R6, R0                                                 ; +0x28, 0x32f5dc\nMOV             R0, SP                                                 ; +0x2a, 0x32f5de\nLDR.W           R8, [R3,#0x30]                                         ; +0x2c, 0x32f5e0\nBL              sub_775C20                                             ; +0x30, 0x32f5e4\nLDR             R0, =(aHttpsWwwYoutub_47 - 0x32F5F0); \"https://www.youtube.com/channel/%s\" ; +0x34, 0x32f5e8\nLDR             R1, [SP,#8+var_8]; char *                              ; +0x36, 0x32f5ea\nADD             R0, PC; \"https://www.youtube.com/channel/%s\"           ; +0x38, 0x32f5ec\nBL              _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x3a, 0x32f5ee\nBL              _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x3e, 0x32f5f2\nMOV             R1, R0                                                 ; +0x42, 0x32f5f6\nMOV             R0, R6                                                 ; +0x44, 0x32f5f8\nBLX             R8                                                     ; +0x46, 0x32f5fa\nMOV             R0, SP                                                 ; +0x48, 0x32f5fc\nBL              sub_774008                                             ; +0x4a, 0x32f5fe\nB               loc_32F60E                                             ; +0x4e, 0x32f602\nMOV             R0, R5                                                 ; +0x50, 0x32f604\nBL              sub_774008                                             ; +0x52, 0x32f606\nBL              __cxa_end_cleanup                                      ; +0x56, 0x32f60a\nLDR             R2, [SP,#8+var_4]                                      ; +0x5a, 0x32f60e\nLDR             R3, [R4]                                               ; +0x5c, 0x32f610\nCMP             R2, R3                                                 ; +0x5e, 0x32f612\nBEQ             loc_32F61A                                             ; +0x60, 0x32f614\nBLX             __stack_chk_fail                                       ; +0x62, 0x32f616\nADD             SP, SP, #8                                             ; +0x66, 0x32f61a\nPOP.W           {R4-R8,PC}                                             ; +0x68, 0x32f61c", "xrefs": [], "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"}