// // SongInfoObject::getSongLinks from 0x100666130 to 0x1006662d6 (422 bytes) // // 1 xrefs: // > SongInfoLayer::create_2 @ 0x1006d77d1 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // 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 12:34:58 +0000 // __int64 *__fastcall SongInfoObject::getSongLinks(__int64 *a1, __int64 a2) { __int64 v2; // r15 __int64 v3; // r12 signed __int64 v4; // r13 char *v5; // rbx __int64 *v6; // rax __int64 *v7; // r13 __int64 v8; // rax unsigned int v9; // esi __int64 v10; // rcx __int64 v11; // rax unsigned __int64 v12; // rax _DWORD *v13; // rcx __int64 v14; // r8 unsigned __int64 v15; // rdi bool v16; // zf __int64 v17; // rax const std::string::value_type *CString; // rax char v20; // [rsp+0h] [rbp-70h] __int64 v21; // [rsp+8h] [rbp-68h] BYREF __int128 v22; // [rsp+10h] [rbp-60h] void *v23[4]; // [rsp+20h] [rbp-50h] BYREF __int64 *v24; // [rsp+40h] [rbp-30h] *(_OWORD *)a1 = 0; a1[2] = 0; v2 = *(_QWORD *)(a2 + 576); v3 = *(_QWORD *)(a2 + 584); v24 = a1; v21 = (__int64)a1; LOBYTE(v22) = 0; v4 = v3 - v2; if ( v3 == v2 ) { v8 = 0; v7 = v24; v9 = *(_DWORD *)(a2 + 316); if ( v9 - 1 > 0x98967E ) return v7; goto LABEL_6; } if ( (unsigned __int64)(0x6DB6DB6DB6DB6DB7LL * (v4 >> 3)) >= 0x492492492492493LL ) sub_10066C640(); v5 = (char *)operator new(v4); v6 = v24; *v24 = (__int64)v5; v6[1] = (__int64)v5; v6[2] = (__int64)&v5[v4]; v7 = v6; v8 = sub_10066D740(v6, v2, v3, v5); v7[1] = v8; v9 = *(_DWORD *)(a2 + 316); if ( v9 - 1 <= 0x98967E ) { LABEL_6: v10 = *v7; v11 = v8 - *v7; if ( !v11 ) goto LABEL_12; v12 = 0x6DB6DB6DB6DB6DB7LL * (v11 >> 3); if ( *(_DWORD *)(v10 + 4) != 2 ) { v13 = (_DWORD *)(v10 + 60); v14 = 1; do { v15 = v14; if ( (v12 == 0) + v12 == v14 ) break; ++v14; v16 = *v13 == 2; v13 += 14; } while ( !v16 ); if ( v15 >= v12 ) { LABEL_12: memset(v23, 0, sizeof(v23)); v22 = 0; v21 = v9 | 0x200000000LL; v17 = sub_10088E820("https://www.newgrounds.com/audio/listen/%i", v20); CString = (const std::string::value_type *)cocos2d::CCString::getCString(v17); std::string::assign((std::string *)&v23[1], CString); sub_10065D550((__int64)v7, (__int64)&v21); if ( ((__int64)v23[1] & 1) != 0 ) operator delete(v23[3]); if ( (v22 & 1) != 0 ) operator delete(v23[0]); } } } return v7; }
GD Web Decomp Icon

GD Web Decomp

Raw Source