// // SongInfoObject::getSongLinks from 0x57386c to 0x573944 (216 bytes) // // 1 xrefs: // > SongInfoLayer::create @ 0x53c410 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:52:39 +0000 // SongInfoObject *__fastcall SongInfoObject::getSongLinks(SongInfoObject *this, int a2) { unsigned int v4; // r1 int i; // r2 const char *v6; // r1 cocos2d::CCString *v7; // r0 char *CString; // r0 GJLinkObject *v9; // r0 _DWORD v11[5]; // [sp+4h] [bp-28h] BYREF int v12[3]; // [sp+18h] [bp-14h] BYREF *(_DWORD *)this = 0; *((_DWORD *)this + 1) = 0; *((_DWORD *)this + 2) = 0; v4 = (*(_DWORD *)(a2 + 416) - *(_DWORD *)(a2 + 412)) >> 5; if ( v4 ) { std::vector::allocate(this, v4); sub_573194((int)this, *(GJLinkObject **)(a2 + 412), *(GJLinkObject **)(a2 + 416)); } if ( (unsigned int)(*(_DWORD *)(a2 + 264) - 1) <= 0x98967E ) { for ( i = 0; i != (*((_DWORD *)this + 1) - *(_DWORD *)this) >> 5; ++i ) { if ( *(_DWORD *)(*(_DWORD *)this + 32 * i + 4) == 2 ) return this; } GJLinkObject::GJLinkObject((GJLinkObject *)v11); v6 = *(const char **)(a2 + 264); v11[1] = 2; v11[0] = v6; v7 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"https://www.newgrounds.com/audio/listen/%i", v6); CString = (char *)cocos2d::CCString::getCString(v7); std::string::assign(v12, CString); v9 = *((GJLinkObject **)this + 1); if ( v9 == *((GJLinkObject **)this + 2) ) { std::vector::__push_back_slow_path((unsigned int *)this, (GJLinkObject *)v11); } else { if ( v9 ) GJLinkObject::GJLinkObject(v9, (const GJLinkObject *)v11); *((_DWORD *)this + 1) += 32; } GJLinkObject::~GJLinkObject((GJLinkObject *)v11); } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source