// // sub_1001E32AC from 0x1001e32ac to 0x1001e33e0 (308 bytes) // // 1 xrefs: // > SongInfoLayer::create_2 @ 0x10044e1d8 // // This function is hookable on this platform (idp: arm, 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 11:00:31 +0000 // void __usercall sub_1001E32AC(__int64 a1@, __int64 *a2@) { int v4; // w8 __int64 v5; // x11 __int64 v6; // x9 unsigned __int64 v7; // x9 __int64 v8; // x10 int *v9; // x11 __int64 v10; // x13 unsigned __int64 v11; // x12 int v12; // t1 __int64 v13; // x0 const std::string::value_type *CString; // x0 _DWORD v15[2]; // [xsp+8h] [xbp-58h] BYREF void *v16[2]; // [xsp+10h] [xbp-50h] void *__p[2]; // [xsp+20h] [xbp-40h] BYREF __int128 v18; // [xsp+30h] [xbp-30h] *a2 = 0; a2[1] = 0; a2[2] = 0; sub_1001E8C08(a2); v4 = *(_DWORD *)(a1 + 316); if ( (unsigned int)(v4 - 1) <= 0x98967E ) { v5 = *a2; v6 = a2[1] - *a2; if ( !v6 ) goto LABEL_11; v7 = 0x6DB6DB6DB6DB6DB7LL * (v6 >> 3); v8 = v7 <= 1 ? 1LL : v7; if ( *(_DWORD *)(v5 + 4) != 2 ) { v9 = (int *)(v5 + 60); v10 = 1; do { v11 = v10; if ( v8 == v10 ) break; v12 = *v9; v9 += 14; ++v10; } while ( v12 != 2 ); if ( v11 >= v7 ) { LABEL_11: *(_OWORD *)__p = 0u; v18 = 0u; *(_OWORD *)v16 = 0u; v15[0] = v4; v15[1] = 2; v13 = sub_1003065B0("https://www.newgrounds.com/audio/listen/%i", v4); CString = (const std::string::value_type *)cocos2d::CCString::getCString(v13); std::string::assign((std::string *)&__p[1], CString); sub_1001DD80C((__int64)a2, (__int64)v15); if ( SHIBYTE(v18) < 0 ) operator delete(__p[1]); if ( SHIBYTE(__p[0]) < 0 ) operator delete(v16[0]); } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source