{"type": "func", "start": 4375880, "end": 4375984, "name": "ArtistCell::onYouTube", "pseudocode": "// \n// ArtistCell::onYouTube from 0x42c548 to 0x42c5b0 (104 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:48:10 +0000\n// \n\ncocos2d::CCApplication *__fastcall ArtistCell::onYouTube(\n        cocos2d::CCApplication *this,\n        cocos2d::CCObject *a2,\n        char *a3,\n        int a4)\n{\n  cocos2d::CCApplication *v4; // r7\n  int *v5; // r6\n  void (__fastcall *v6)(int *, char *); // r8\n  char *v7; // r1\n  _DWORD v8[2]; // [sp+0h] [bp-10h] BYREF\n  char *v9; // [sp+8h] [bp-8h]\n  int v10; // [sp+Ch] [bp-4h]\n\n  v8[0] = this;\n  v8[1] = a2;\n  v9 = a3;\n  v10 = a4;\n  v4 = this;\n  if ( *((_DWORD *)this + 105) )\n  {\n    v5 = (int *)cocos2d::CCApplication::sharedApplication(this);\n    v6 = *(void (__fastcall **)(int *, char *))(*v5 + 52);\n    sub_42C208(v8, *((_DWORD *)v4 + 105), 1, *v5);\n    if ( (v8[0] & 1) != 0 )\n      v7 = v9;\n    else\n      v7 = (char *)v8 + 1;\n    v6(v5, v7);\n    return (cocos2d::CCApplication *)std::string::~string((int)v8);\n  }\n  return this;\n}", "assembly": "; \n; ArtistCell::onYouTube from 0x42c548 to 0x42c5b0 (104 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:48:10 +0000\n; \nPUSH.W          {R0-R8,LR}                                             ; +0x0, 0x42c548\nMOV             R7, R0                                                 ; +0x4, 0x42c54c\nLDR             R3, =(__stack_chk_guard_ptr - 0x42C554)                ; +0x6, 0x42c54e\nADD             R3, PC; __stack_chk_guard_ptr                          ; +0x8, 0x42c550\nLDR             R3, [R3]; __stack_chk_guard                            ; +0xa, 0x42c552\nLDR             R2, [R3]                                               ; +0xc, 0x42c554\nMOV             R4, R3                                                 ; +0xe, 0x42c556\nSTR             R2, [SP,#0x10+var_4]                                   ; +0x10, 0x42c558\nLDR.W           R2, [R0,#0x1A4]                                        ; +0x12, 0x42c55a\nCBZ             R2, loc_42C59E                                         ; +0x16, 0x42c55e\nBL              _ZN7cocos2d13CCApplication17sharedApplicationEv; cocos2d::CCApplication::sharedApplication(void) ; +0x18, 0x42c560\nLDR.W           R1, [R7,#0x1A4]                                        ; +0x1c, 0x42c564\nMOVS            R2, #1                                                 ; +0x20, 0x42c568\nMOV             R5, SP                                                 ; +0x22, 0x42c56a\nLDR             R3, [R0]                                               ; +0x24, 0x42c56c\nMOV             R6, R0                                                 ; +0x26, 0x42c56e\nMOV             R0, SP                                                 ; +0x28, 0x42c570\nLDR.W           R8, [R3,#0x34]                                         ; +0x2a, 0x42c572\nBL              sub_42C208                                             ; +0x2e, 0x42c576\nLDRB.W          R3, [SP,#0x10+var_10]                                  ; +0x32, 0x42c57a\nMOV             R0, R6                                                 ; +0x36, 0x42c57e\nLSLS            R3, R3, #0x1F                                          ; +0x38, 0x42c580\nITE PL                                                                 ; +0x3a, 0x42c582\nADDPL.W         R1, SP, #0x10+var_F                                    ; +0x3c, 0x42c584\nLDRMI           R1, [SP,#0x10+var_8]                                   ; +0x40, 0x42c588\nBLX             R8                                                     ; +0x42, 0x42c58a\nMOV             R0, SP                                                 ; +0x44, 0x42c58c\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x46, 0x42c58e\nB               loc_42C59E                                             ; +0x4a, 0x42c592\nMOV             R0, R5                                                 ; +0x4c, 0x42c594\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x4e, 0x42c596\nBL              __cxa_end_cleanup                                      ; +0x52, 0x42c59a\nLDR             R2, [SP,#0x10+var_4]                                   ; +0x56, 0x42c59e\nLDR             R3, [R4]                                               ; +0x58, 0x42c5a0\nCMP             R2, R3                                                 ; +0x5a, 0x42c5a2\nBEQ             loc_42C5AA                                             ; +0x5c, 0x42c5a4\nBLX             __stack_chk_fail                                       ; +0x5e, 0x42c5a6\nADD             SP, SP, #0x10                                          ; +0x62, 0x42c5aa\nPOP.W           {R4-R8,PC}                                             ; +0x64, 0x42c5ac", "xrefs": [], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "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"}