{"type": "func", "start": 3339584, "end": 3339692, "name": "ArtistCell::onNewgrounds", "pseudocode": "// \n// ArtistCell::onNewgrounds from 0x32f540 to 0x32f5ac (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::onNewgrounds(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_artistName);\n    v5 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(\n                                (cocos2d::CCString *)\"https://%s.newgrounds.com/audio\",\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::onNewgrounds from 0x32f540 to 0x32f5ac (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 - 0x32F54A)                ; +0x0, 0x32f540\nPUSH.W          {R0,R1,R4-R8,LR}                                       ; +0x2, 0x32f542\nADD             R3, PC; __stack_chk_guard_ptr                          ; +0x6, 0x32f546\nLDR             R3, [R3]; __stack_chk_guard                            ; +0x8, 0x32f548\nMOV             R7, R0                                                 ; +0xa, 0x32f54a\nLDR             R2, [R3]                                               ; +0xc, 0x32f54c\nMOV             R4, R3                                                 ; +0xe, 0x32f54e\nSTR             R2, [SP,#8+var_4]                                      ; +0x10, 0x32f550\nLDR.W           R2, [R0,#0x19C]                                        ; +0x12, 0x32f552\nCBZ             R2, loc_32F59A                                         ; +0x16, 0x32f556\nBL              _ZN7cocos2d13CCApplication17sharedApplicationEv; cocos2d::CCApplication::sharedApplication(void) ; +0x18, 0x32f558\nLDR.W           R1, [R7,#0x19C]                                        ; +0x1c, 0x32f55c\nMOV             R5, SP                                                 ; +0x20, 0x32f560\nADD.W           R1, R1, #0x110                                         ; +0x22, 0x32f562\nLDR             R3, [R0]                                               ; +0x26, 0x32f566\nMOV             R6, R0                                                 ; +0x28, 0x32f568\nMOV             R0, SP                                                 ; +0x2a, 0x32f56a\nLDR.W           R8, [R3,#0x30]                                         ; +0x2c, 0x32f56c\nBL              sub_775C20                                             ; +0x30, 0x32f570\nLDR             R0, =(aHttpsSNewgroun - 0x32F57C); \"https://%s.newgrounds.com/audio\" ; +0x34, 0x32f574\nLDR             R1, [SP,#8+var_8]; char *                              ; +0x36, 0x32f576\nADD             R0, PC; \"https://%s.newgrounds.com/audio\"              ; +0x38, 0x32f578\nBL              _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x3a, 0x32f57a\nBL              _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x3e, 0x32f57e\nMOV             R1, R0                                                 ; +0x42, 0x32f582\nMOV             R0, R6                                                 ; +0x44, 0x32f584\nBLX             R8                                                     ; +0x46, 0x32f586\nMOV             R0, SP                                                 ; +0x48, 0x32f588\nBL              sub_774008                                             ; +0x4a, 0x32f58a\nB               loc_32F59A                                             ; +0x4e, 0x32f58e\nMOV             R0, R5                                                 ; +0x50, 0x32f590\nBL              sub_774008                                             ; +0x52, 0x32f592\nBL              __cxa_end_cleanup                                      ; +0x56, 0x32f596\nLDR             R2, [SP,#8+var_4]                                      ; +0x5a, 0x32f59a\nLDR             R3, [R4]                                               ; +0x5c, 0x32f59c\nCMP             R2, R3                                                 ; +0x5e, 0x32f59e\nBEQ             loc_32F5A6                                             ; +0x60, 0x32f5a0\nBLX             __stack_chk_fail                                       ; +0x62, 0x32f5a2\nADD             SP, SP, #8                                             ; +0x66, 0x32f5a6\nPOP.W           {R4-R8,PC}                                             ; +0x68, 0x32f5a8", "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"}