// // CustomSongCell::loadFromObject from 0x100229940 to 0x100229ae1 (417 bytes) // // 2 xrefs: // > CustomListView::loadCell @ 0x10022817e // > CustomListView::reloadAll @ 0x100235d13 // // 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:27:06 +0000 // __int64 __fastcall CustomSongCell::loadFromObject(__int64 a1, __int64 a2) { __int64 v2; // rax _BYTE *v4; // r14 __int64 v5; // r14 __int64 v6; // rax int v7; // edx int v8; // ecx int v9; // r8d int v10; // r9d __int64 v11; // r14 __int64 result; // rax _QWORD v13[4]; // [rsp+0h] [rbp-20h] BYREF v13[0] = v2; (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 536) + 584LL))(*(_QWORD *)(a1 + 536), 1); *(_QWORD *)(a1 + 560) = a2; v4 = (_BYTE *)CustomSongWidget::create(a2, (int)a1 + 552, 1, 1, 0, 0, 0, 0, 0, 0, 0); (*(void (__fastcall **)(_QWORD, _BYTE *, __int64))(**(_QWORD **)(a1 + 536) + 464LL))(*(_QWORD *)(a1 + 536), v4, 2); sub_100278250(v13, *(float *)(a1 + 520) * 0.5, *(float *)(a1 + 524) * 0.5); (*(void (__fastcall **)(_BYTE *, _QWORD *))(*(_QWORD *)v4 + 184LL))(v4, v13); v4[512] = 1; v5 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_trashBtn_001.png"); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v5 + 160LL))(v5, 0.60000002); v6 = CCMenuItemSpriteExtra::create(v5, 0, a1, CustomSongCell::onDelete, 0); LODWORD(v5) = v6; CCMenuItemSpriteExtra::setSizeMult(v6, 1.5); v11 = sub_1008735E0(v5, 0, v7, v8, v9, v10); (*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(a1 + 536) + 464LL))(*(_QWORD *)(a1 + 536), v11, 3); sub_100278250(v13, (float)(*(float *)(a1 + 520) * 0.5) + 90.0, (float)(0.5 * *(float *)(a1 + 524)) + -24.0); (*(void (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)v11 + 184LL))(v11, v13); LODWORD(v11) = *(_DWORD *)(*(_QWORD *)(a1 + 560) + 316LL); result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 1160LL))(a1); *(_BYTE *)(a1 + 568) = (_DWORD)v11 == (_DWORD)result; return result; }