{"type": "func", "start": 5369452864, "end": 5369453022, "name": "ArtistCell::onNewgrounds", "pseudocode": "// \n// ArtistCell::onNewgrounds from 0x1400b5940 to 0x1400b59de (158 bytes)\n// \n// 2 xrefs:\n// > ArtistCell::loadFromObject @ 0x1400b57cb\n// > <???> @ 0x1406c7bd8\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\n// Hidden C++ exception states: #wind=1\nvoid ArtistCell::onNewgrounds(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_artistName);\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://%s.newgrounds.com/audio\", 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::onNewgrounds from 0x1400b5940 to 0x1400b59de (158 bytes)\n; \n; 2 xrefs:\n; > ArtistCell::loadFromObject @ 0x1400b57cb\n; > <???> @ 0x1406c7bd8\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, 0x1400b5940\npush    rdi                                                            ; +0x5, 0x1400b5945\nsub     rsp, 50h                                                       ; +0x6, 0x1400b5946\nmov     rax, cs:__security_cookie                                      ; +0xa, 0x1400b594a\nxor     rax, rsp                                                       ; +0x11, 0x1400b5951\nmov     [rsp+58h+var_10], rax                                          ; +0x14, 0x1400b5954\nmov     rbx, rcx                                                       ; +0x19, 0x1400b5959\ncmp     qword ptr [rcx+230h], 0                                        ; +0x1c, 0x1400b595c\njz      short loc_1400B59C6                                            ; +0x24, 0x1400b5964\ncall    cs:?sharedApplication@CCApplication@cocos2d@@SAPEAV12@XZ; cocos2d::CCApplication::sharedApplication(void) ; +0x26, 0x1400b5966\nmov     rdi, rax                                                       ; +0x2c, 0x1400b596c\nmov     rdx, [rbx+230h]                                                ; +0x2f, 0x1400b596f\nadd     rdx, 168h                                                      ; +0x36, 0x1400b5976\nlea     rcx, [rsp+58h+var_30]                                          ; +0x3d, 0x1400b597d\ncall    sub_14003BDB0                                                  ; +0x42, 0x1400b5982\nnop                                                                    ; +0x47, 0x1400b5987\nlea     rdx, [rsp+58h+var_30]                                          ; +0x48, 0x1400b5988\ncmp     [rsp+58h+var_18], 0Fh                                          ; +0x4d, 0x1400b598d\ncmova   rdx, [rsp+58h+var_30]                                          ; +0x53, 0x1400b5993\nmov     rbx, [rdi]                                                     ; +0x59, 0x1400b5999\nlea     rcx, aHttpsSNewgroun; \"https://%s.newgrounds.com/audio\"        ; +0x5c, 0x1400b599c\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x63, 0x1400b59a3\nmov     rcx, rax                                                       ; +0x69, 0x1400b59a9\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x6c, 0x1400b59ac\nmov     rdx, rax                                                       ; +0x72, 0x1400b59b2\nmov     rcx, rdi                                                       ; +0x75, 0x1400b59b5\ncall    qword ptr [rbx+58h]                                            ; +0x78, 0x1400b59b8\nnop                                                                    ; +0x7b, 0x1400b59bb\nlea     rcx, [rsp+58h+var_30]                                          ; +0x7c, 0x1400b59bc\ncall    sub_14003A830                                                  ; +0x81, 0x1400b59c1\nmov     rcx, [rsp+58h+var_10]                                          ; +0x86, 0x1400b59c6\nxor     rcx, rsp; StackCookie                                          ; +0x8b, 0x1400b59cb\ncall    __security_check_cookie                                        ; +0x8e, 0x1400b59ce\nmov     rbx, [rsp+58h+arg_8]                                           ; +0x93, 0x1400b59d3\nadd     rsp, 50h                                                       ; +0x98, 0x1400b59d8\npop     rdi                                                            ; +0x9c, 0x1400b59dc\nretn                                                                   ; +0x9d, 0x1400b59dd", "xrefs": ["ArtistCell::loadFromObject @ 0x1400b57cb", "<???> @ 0x1406c7bd8"], "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"}