// // CustomSongWidget::positionInfoObjects from 0x14016a6f0 to 0x14016acc0 (1488 bytes) // // 3 xrefs: // > CustomSongWidget::init @ 0x14016a470 // > CustomSongWidget::updateSongInfo @ 0x14016c3c4 // > @ 0x140918080 // // 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 11:27:28 +0000 // // Hidden C++ exception states: #wind=2 void __fastcall CustomSongWidget::positionInfoObjects(__int64 a1) { char v2; // cl int v3; // eax float v4; // xmm6_4 int v5; // eax float v6; // xmm7_4 __int64 v7; // rax bool v8; // si float v9; // xmm7_4 float v10; // xmm2_4 float v11; // xmm6_4 float v12; // xmm1_4 __int64 *v13; // rbx __int64 v14; // rdi __int64 v15; // rax __int64 v16; // rax __int64 v17; // rbx __int64 v18; // rax __int64 v19; // rax __int64 v20; // rbx __int64 v21; // rax float *v22; // rax __int64 *v23; // rdi __int64 v24; // rbx __int64 v25; // rax __int64 *v26; // rdi __int64 v27; // rbx __int64 v28; // rax __int64 v29; // rax __int64 v30; // rax __int64 *v31; // rdi __int64 v32; // rbx __int64 v33; // rax __int64 *v34; // rdi __int64 v35; // rbx __int64 v36; // rax __int64 v37; // rax __int64 v38; // rbx __int64 v39; // rax int v40; // r15d const char *v41; // rdx size_t v42; // rbx size_t v43; // r8 const char *v44; // rdx const char *v45; // r8 cocos2d::CCString *v46; // rax const char *CString; // rax const char *v48; // rsi __int64 *v49; // rdi __int64 v50; // rbx cocos2d::CCSpriteFrameCache *v51; // rax struct cocos2d::CCSpriteFrame *v52; // rax __int64 v53; // rax __int64 v54; // rbx __int64 v55; // rax int v56; // eax __int64 v57; // rax __int64 v58; // rbx __int64 v59; // rax __int64 v60; // rcx __int64 v61; // rax __int64 v62; // rbx __int64 v63; // rax int v64; // eax float v65; // xmm6_4 __int64 v66; // rax __int64 v67; // rbx __int64 v68; // rax __int64 v69; // rax __int64 v70; // rbx __int64 v71; // rax _BYTE v72[8]; // [rsp+28h] [rbp-39h] BYREF _BYTE v73[8]; // [rsp+30h] [rbp-31h] BYREF __int128 v74; // [rsp+38h] [rbp-29h] BYREF __int128 v75; // [rsp+48h] [rbp-19h] __int128 v76; // [rsp+58h] [rbp-9h] BYREF __int128 v77; // [rsp+68h] [rbp+7h] v2 = *(_BYTE *)(a1 + 501); v3 = 300; if ( v2 ) v3 = 320; v4 = (float)v3; v5 = 90; if ( v2 ) v5 = 50; v6 = (float)v5; v7 = *(_QWORD *)(a1 + 336); v8 = v7 && *(int *)(v7 + 432) > 0; v9 = v6 * 0.5; v10 = v9 - 16.0; v11 = v4 * 0.5; v12 = 10.0 - v11; v13 = *(__int64 **)(a1 + 352); v14 = *v13; if ( v2 ) { cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v73, v12, v10); (*(void (__fastcall **)(__int64 *, __int64))(v14 + 184))(v13, v30); v31 = *(__int64 **)(a1 + 368); v32 = *v31; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v73, 11.0 - v11, v9 - 34.0); (*(void (__fastcall **)(__int64 *, __int64))(v32 + 184))(v31, v33); v34 = *(__int64 **)(a1 + 376); v35 = *v34; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v73, 0.0, 3.0 - v9); (*(void (__fastcall **)(__int64 *, __int64))(v35 + 184))(v34, v36); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v73, 0.0, -0.5); v38 = v37; v39 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 376) + 200LL))(*(_QWORD *)(a1 + 376)); cocos2d::CCPoint::operator+(v39, v72, v38); (*(void (__fastcall **)(_QWORD, _BYTE *))(**(_QWORD **)(a1 + 456) + 184LL))(*(_QWORD *)(a1 + 456), v72); v26 = *(__int64 **)(a1 + 480); v27 = *v26; v29 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 456) + 200LL))(*(_QWORD *)(a1 + 456)); } else { cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v72, v12, v10); (*(void (__fastcall **)(__int64 *, __int64))(v14 + 184))(v13, v15); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v73, 1.0, -24.0); v17 = v16; v18 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 352) + 200LL))(*(_QWORD *)(a1 + 352)); cocos2d::CCPoint::operator+(v18, v72, v17); (*(void (__fastcall **)(_QWORD, _BYTE *))(**(_QWORD **)(a1 + 360) + 184LL))(*(_QWORD *)(a1 + 360), v72); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v73, 1.0, -20.0); v20 = v19; v21 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 360) + 200LL))(*(_QWORD *)(a1 + 360)); cocos2d::CCPoint::operator+(v21, v72, v20); (*(void (__fastcall **)(_QWORD, _BYTE *))(**(_QWORD **)(a1 + 376) + 184LL))(*(_QWORD *)(a1 + 376), v72); v22 = (float *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 352) + 200LL))(*(_QWORD *)(a1 + 352)); v23 = *(__int64 **)(a1 + 368); v24 = *v23; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v73, *v22 + 1.0, 14.0 - v9); (*(void (__fastcall **)(__int64 *, __int64))(v24 + 184))(v23, v25); v26 = *(__int64 **)(a1 + 456); v27 = *v26; v28 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 376) + 200LL))(*(_QWORD *)(a1 + 376)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v73, -34.0, *(float *)(v28 + 4)); } (*(void (__fastcall **)(__int64 *, __int64))(v27 + 184))(v26, v29); (*(void (__fastcall **)(_QWORD, bool))(**(_QWORD **)(a1 + 472) + 336LL))(*(_QWORD *)(a1 + 472), v8); if ( v8 ) { v40 = *(_DWORD *)(*(_QWORD *)(a1 + 336) + 432LL); v41 = "ncs"; if ( v40 == 2 ) v41 = "chompo"; v76 = 0; v77 = 0; v42 = -1; v43 = -1; do ++v43; while ( v41[v43] ); sub_14003D230(&v76, v41, v43); v44 = (const char *)&v76; if ( *((_QWORD *)&v77 + 1) > 0xFu ) v44 = (const char *)v76; v45 = "med"; if ( *(_BYTE *)(a1 + 501) ) v45 = "small"; v46 = cocos2d::CCString::createWithFormat("%s_%s_001.png", v44, v45); CString = cocos2d::CCString::getCString(v46); v74 = 0; v75 = 0; do ++v42; while ( CString[v42] ); sub_14003D230(&v74, CString, v42); v48 = (const char *)&v74; if ( *((_QWORD *)&v75 + 1) > 0xFu ) v48 = (const char *)v74; v49 = *(__int64 **)(a1 + 472); v50 = *v49; v51 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); v52 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v51, v48); (*(void (__fastcall **)(__int64 *, struct cocos2d::CCSpriteFrame *))(v50 + 1008))(v49, v52); if ( *(_BYTE *)(a1 + 501) ) { cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v73, 0.0, -1.0); v62 = v61; v63 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 352) + 200LL))(*(_QWORD *)(a1 + 352)); cocos2d::CCPoint::operator+(v63, v72, v62); (*(void (__fastcall **)(_QWORD, _BYTE *))(**(_QWORD **)(a1 + 472) + 184LL))(*(_QWORD *)(a1 + 472), v72); v64 = 37; if ( v40 == 2 ) v64 = 45; v65 = (float)v64; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v73, (float)v64, 0.0); v67 = v66; v68 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 352) + 200LL))(*(_QWORD *)(a1 + 352)); cocos2d::CCPoint::operator+(v68, v72, v67); (*(void (__fastcall **)(_QWORD, _BYTE *))(**(_QWORD **)(a1 + 352) + 184LL))(*(_QWORD *)(a1 + 352), v72); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v73, v65, 0.0); v70 = v69; v71 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 360) + 200LL))(*(_QWORD *)(a1 + 360)); cocos2d::CCPoint::operator+(v71, v72, v70); v60 = *(_QWORD *)(a1 + 360); } else { cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v73, 0.0, -2.0); v54 = v53; v55 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 352) + 200LL))(*(_QWORD *)(a1 + 352)); cocos2d::CCPoint::operator+(v55, v72, v54); (*(void (__fastcall **)(_QWORD, _BYTE *))(**(_QWORD **)(a1 + 472) + 184LL))(*(_QWORD *)(a1 + 472), v72); v56 = 53; if ( v40 == 2 ) v56 = 61; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v73, (float)v56, 0.0); v58 = v57; v59 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 352) + 200LL))(*(_QWORD *)(a1 + 352)); cocos2d::CCPoint::operator+(v59, v72, v58); v60 = *(_QWORD *)(a1 + 352); } (*(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v60 + 184LL))(v60, v72); sub_14003D310((__int64)&v74); sub_14003D310((__int64)&v76); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source