// // CustomListView::getListCell from 0x100240750 to 0x1002416a9 (3929 bytes) // // 1 xrefs: // > @ 0x1008ea2f0 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // TableViewCell *__fastcall CustomListView::getListCell(CustomListView *a1, const char *a2) { double v2; // xmm2_8 double v3; // xmm3_8 float v4; // xmm1_4 double v5; // kr10_8 double v6; // kr20_8 double v7; // xmm2_8 double v8; // xmm3_8 float v9; // xmm0_4 char *v10; // rbx cocos2d::CCObject *v12; // rax cocos2d::CCObject *v13; // rdi cocos2d::CCObject *v14; // rax __int64 (__fastcall **v15)(); // rax __int64 (__fastcall **v16)(); // rax __int64 (__fastcall **v17)(); // rax float v18; // xmm0_4 float m_width; // xmm0_4 float v20; // [rsp+0h] [rbp-1Ch] v5 = v3; v6 = v2; v4 = 60.0; *(_QWORD *)&v7 = 1109393408; *(_QWORD *)&v8 = 1119092736; v9 = 100.0; switch ( a1->m_type ) { case User: case User2: v9 = 45.0; goto LABEL_6; case Stats: LABEL_42: v10 = (char *)operator new(0x228u); TableViewCell::TableViewCell((TableViewCell *)v10, a2, a1->m_width, *(float *)&v7); *(_QWORD *)v10 = off_1008E3F40; *((_QWORD *)v10 + 40) = off_1008E43C0; *((_QWORD *)v10 + 41) = &off_1008E4430; *((_QWORD *)v10 + 42) = off_1008E4448; *((_QWORD *)v10 + 43) = off_1008E4468; *((_QWORD *)v10 + 44) = off_1008E4488; return (TableViewCell *)v10; case Achievement: case Comment: v9 = 80.0; goto LABEL_6; case Level: goto LABEL_29; case Level2: LODWORD(v8) = 1116471296; LABEL_29: v10 = (char *)operator new(0x260u); m_width = a1->m_width; TableViewCell::TableViewCell((TableViewCell *)v10, a2, m_width, *(float *)&v8); *(_QWORD *)v10 = off_1008E3460; *((_QWORD *)v10 + 40) = off_1008E38E0; *((_QWORD *)v10 + 41) = &off_1008E3950; *((_QWORD *)v10 + 42) = off_1008E3968; *((_QWORD *)v10 + 43) = off_1008E3988; *((_QWORD *)v10 + 44) = off_1008E39A8; sub_10028CC30(v10 + 584); v10[568] = 0; v10[600] = 0; (*(void (__fastcall **)(char *, float, float, double))(*(_QWORD *)v10 + 80LL))(v10, m_width, *(float *)&v8, v7); return (TableViewCell *)v10; case Comment2: case Comment3: v9 = 36.0; goto LABEL_6; case List|0x1: return BoomListView::getListCell(a1, a2); case Song: LABEL_47: v10 = (char *)operator new(0x230u); TableViewCell::TableViewCell((TableViewCell *)v10, a2, a1->m_width, v4); *(_QWORD *)v10 = off_1008E44B0; *((_QWORD *)v10 + 40) = off_1008E4930; *((_QWORD *)v10 + 41) = &off_1008E49A0; *((_QWORD *)v10 + 42) = off_1008E49B8; *((_QWORD *)v10 + 43) = off_1008E49D8; v17 = off_1008E49F8; goto LABEL_52; case Score: LABEL_37: v10 = (char *)operator new(0x238u); TableViewCell::TableViewCell((TableViewCell *)v10, a2, a1->m_width, v4); *(_QWORD *)v10 = off_1008E6BD8; *((_QWORD *)v10 + 40) = off_1008E7060; *((_QWORD *)v10 + 41) = &off_1008E70D0; *((_QWORD *)v10 + 42) = off_1008E70E8; *((_QWORD *)v10 + 43) = off_1008E7108; *((_QWORD *)v10 + 44) = off_1008E7128; v15 = &off_1008E7150; goto LABEL_38; case MapPack: LABEL_9: v10 = (char *)operator new(0x250u); TableViewCell::TableViewCell((TableViewCell *)v10, a2, a1->m_width, v9); *(_QWORD *)v10 = off_1008E39D0; *((_QWORD *)v10 + 40) = off_1008E3E50; *((_QWORD *)v10 + 41) = &off_1008E3EC0; *((_QWORD *)v10 + 42) = off_1008E3ED8; *((_QWORD *)v10 + 43) = off_1008E3EF8; *((_QWORD *)v10 + 44) = off_1008E3F18; v12 = (cocos2d::CCObject *)sub_10071F9E0(v10, a2); *((_QWORD *)v10 + 73) = v12; v13 = v12; cocos2d::CCObject::retain(v12); v14 = (cocos2d::CCObject *)sub_10071F9E0(v13, a2); *((_QWORD *)v10 + 72) = v14; cocos2d::CCObject::retain(v14); *(_OWORD *)(v10 + 552) = 0; *((_QWORD *)v10 + 71) = 0; return (TableViewCell *)v10; case CustomSong: LABEL_10: v10 = (char *)operator new(0x240u); TableViewCell::TableViewCell((TableViewCell *)v10, a2, a1->m_width, v9); *(_QWORD *)v10 = off_1008E4A20; *((_QWORD *)v10 + 40) = off_1008E4EC0; *((_QWORD *)v10 + 41) = &off_1008E4F30; *((_QWORD *)v10 + 42) = off_1008E4F48; *((_QWORD *)v10 + 43) = off_1008E4F68; *((_QWORD *)v10 + 44) = off_1008E4F88; v15 = off_1008E4FB0; goto LABEL_38; case Comment4: LABEL_35: v10 = (char *)operator new(0x258u); TableViewCell::TableViewCell((TableViewCell *)v10, a2, a1->m_width, *(float *)&v8); LABEL_44: *(_QWORD *)v10 = off_1008E6628; *((_QWORD *)v10 + 40) = off_1008E6AB8; *((_QWORD *)v10 + 41) = &off_1008E6B28; *((_QWORD *)v10 + 42) = off_1008E6B40; *((_QWORD *)v10 + 43) = off_1008E6B60; *((_QWORD *)v10 + 44) = off_1008E6B80; *((_QWORD *)v10 + 69) = &off_1008E6BA8; *((_QWORD *)v10 + 70) = &off_1008E6BC0; v10[594] = 0; *(_OWORD *)(v10 + 568) = 0; *((_QWORD *)v10 + 73) = 0; return (TableViewCell *)v10; case Request: v9 = 45.0; LABEL_14: v10 = (char *)operator new(0x258u); TableViewCell::TableViewCell((TableViewCell *)v10, a2, a1->m_width, v9); *(_QWORD *)v10 = off_1008E8228; *((_QWORD *)v10 + 40) = off_1008E86C8; *((_QWORD *)v10 + 41) = &off_1008E8738; *((_QWORD *)v10 + 42) = off_1008E8750; *((_QWORD *)v10 + 43) = off_1008E8770; *((_QWORD *)v10 + 44) = off_1008E8790; *((_QWORD *)v10 + 69) = &off_1008E87B8; *((_QWORD *)v10 + 70) = &off_1008E87D0; v16 = off_1008E87E8; goto LABEL_19; case Message: v9 = 50.0; LABEL_18: v10 = (char *)operator new(0x258u); TableViewCell::TableViewCell((TableViewCell *)v10, a2, a1->m_width, v9); *(_QWORD *)v10 = off_1008E8808; *((_QWORD *)v10 + 40) = off_1008E8CA8; *((_QWORD *)v10 + 41) = &off_1008E8D18; *((_QWORD *)v10 + 42) = off_1008E8D30; *((_QWORD *)v10 + 43) = off_1008E8D50; *((_QWORD *)v10 + 44) = off_1008E8D70; *((_QWORD *)v10 + 69) = &off_1008E8D98; *((_QWORD *)v10 + 70) = &off_1008E8DB0; v16 = off_1008E8DC8; LABEL_19: *((_QWORD *)v10 + 71) = v16; *((_OWORD *)v10 + 36) = 0; *((_QWORD *)v10 + 74) = 0; return (TableViewCell *)v10; case Comment4|Achievement: LABEL_51: v10 = (char *)operator new(0x230u); TableViewCell::TableViewCell((TableViewCell *)v10, a2, a1->m_width, *(float *)&v7); *(_QWORD *)v10 = off_1008E76D8; *((_QWORD *)v10 + 40) = off_1008E7B58; *((_QWORD *)v10 + 41) = &off_1008E7BC8; *((_QWORD *)v10 + 42) = off_1008E7BE0; *((_QWORD *)v10 + 43) = off_1008E7C00; v17 = off_1008E7C20; goto LABEL_52; case Artist: LABEL_49: v10 = (char *)operator new(0x230u); TableViewCell::TableViewCell((TableViewCell *)v10, a2, a1->m_width, *(float *)&v7); *(_QWORD *)v10 = off_1008E60B8; *((_QWORD *)v10 + 40) = off_1008E6538; *((_QWORD *)v10 + 41) = &off_1008E65A8; *((_QWORD *)v10 + 42) = off_1008E65C0; *((_QWORD *)v10 + 43) = off_1008E65E0; v17 = off_1008E6600; goto LABEL_52; case SmartTemplate: LABEL_31: v10 = (char *)operator new(0x230u); TableViewCell::TableViewCell((TableViewCell *)v10, a2, a1->m_width, *(float *)&v7); *(_QWORD *)v10 = off_1008E8DE8; *((_QWORD *)v10 + 40) = off_1008E9268; *((_QWORD *)v10 + 41) = &off_1008E92D8; *((_QWORD *)v10 + 42) = off_1008E92F0; *((_QWORD *)v10 + 43) = off_1008E9310; v17 = off_1008E9330; goto LABEL_52; case SFX: LABEL_40: v10 = (char *)operator new(0x240u); TableViewCell::TableViewCell((TableViewCell *)v10, a2, a1->m_width, v4); *(_QWORD *)v10 = off_1008E4FE0; *((_QWORD *)v10 + 40) = off_1008E5470; *((_QWORD *)v10 + 41) = &off_1008E54E0; *((_QWORD *)v10 + 42) = off_1008E54F8; *((_QWORD *)v10 + 43) = off_1008E5518; *((_QWORD *)v10 + 44) = off_1008E5538; *((_QWORD *)v10 + 69) = off_1008E5560; *((_QWORD *)v10 + 70) = 0; v10[569] = 0; return (TableViewCell *)v10; case SFX2: v9 = 20.0; LABEL_12: v10 = (char *)operator new(0x240u); TableViewCell::TableViewCell((TableViewCell *)v10, a2, a1->m_width, v9); *(_QWORD *)v10 = off_1008E4FE0; *((_QWORD *)v10 + 40) = off_1008E5470; *((_QWORD *)v10 + 41) = &off_1008E54E0; *((_QWORD *)v10 + 42) = off_1008E54F8; *((_QWORD *)v10 + 43) = off_1008E5518; *((_QWORD *)v10 + 44) = off_1008E5538; *((_QWORD *)v10 + 69) = off_1008E5560; *((_QWORD *)v10 + 70) = 0; v10[569] = 1; return (TableViewCell *)v10; case CustomMusic: LABEL_33: v10 = (char *)operator new(0x240u); TableViewCell::TableViewCell((TableViewCell *)v10, a2, a1->m_width, v4); *(_QWORD *)v10 = off_1008E5588; *((_QWORD *)v10 + 40) = off_1008E5A28; *((_QWORD *)v10 + 41) = &off_1008E5A98; *((_QWORD *)v10 + 42) = off_1008E5AB0; *((_QWORD *)v10 + 43) = off_1008E5AD0; *((_QWORD *)v10 + 44) = off_1008E5AF0; v15 = off_1008E5B18; LABEL_38: *((_QWORD *)v10 + 69) = v15; *((_QWORD *)v10 + 70) = 0; return (TableViewCell *)v10; case Options: v9 = 25.0; LABEL_24: v10 = (char *)operator new(0x230u); TableViewCell::TableViewCell((TableViewCell *)v10, a2, a1->m_width, v9); *(_QWORD *)v10 = off_1008E5B48; *((_QWORD *)v10 + 40) = off_1008E5FC8; *((_QWORD *)v10 + 41) = &off_1008E6038; *((_QWORD *)v10 + 42) = off_1008E6050; *((_QWORD *)v10 + 43) = off_1008E6070; *((_QWORD *)v10 + 44) = off_1008E6090; *((_QWORD *)v10 + 69) = 0; cocos2d::CCLayer::init((cocos2d::CCLayer *)v10); return (TableViewCell *)v10; case Level3: case Level4: v9 = 50.0; goto LABEL_6; case LocalLevelScore: v9 = 21.5; LABEL_16: v10 = (char *)operator new(0x230u); TableViewCell::TableViewCell((TableViewCell *)v10, a2, a1->m_width, v9); *(_QWORD *)v10 = off_1008E7168; *((_QWORD *)v10 + 40) = off_1008E75E8; *((_QWORD *)v10 + 41) = &off_1008E7658; *((_QWORD *)v10 + 42) = off_1008E7670; *((_QWORD *)v10 + 43) = off_1008E7690; v17 = off_1008E76B0; goto LABEL_52; case URL: v9 = 24.0; LABEL_21: v10 = (char *)operator new(0x230u); TableViewCell::TableViewCell((TableViewCell *)v10, a2, a1->m_width, v9); *(_QWORD *)v10 = off_1008E98C8; *((_QWORD *)v10 + 40) = off_1008E9D48; *((_QWORD *)v10 + 41) = &off_1008E9DB8; *((_QWORD *)v10 + 42) = off_1008E9DD0; *((_QWORD *)v10 + 43) = off_1008E9DF0; v17 = off_1008E9E10; LABEL_52: *((_QWORD *)v10 + 44) = v17; *((_QWORD *)v10 + 69) = 0; return (TableViewCell *)v10; default: v7 = v6; v8 = v5; v9 = 90.0; LABEL_6: switch ( a1->m_type ) { case User: case User2: v10 = (char *)operator new(0x250u); TableViewCell::TableViewCell((TableViewCell *)v10, a2, a1->m_width, v9); *(_QWORD *)v10 = off_1008E7C48; *((_QWORD *)v10 + 40) = off_1008E80E8; *((_QWORD *)v10 + 41) = &off_1008E8158; *((_QWORD *)v10 + 42) = off_1008E8170; *((_QWORD *)v10 + 43) = off_1008E8190; *((_QWORD *)v10 + 44) = off_1008E81B0; *((_QWORD *)v10 + 69) = &off_1008E81D8; *((_QWORD *)v10 + 70) = &off_1008E81F0; *((_QWORD *)v10 + 71) = off_1008E8208; *((_OWORD *)v10 + 36) = 0; return (TableViewCell *)v10; case Stats: *(float *)&v7 = v9; goto LABEL_42; case Achievement: v10 = (char *)operator new(0x228u); TableViewCell::TableViewCell((TableViewCell *)v10, a2, a1->m_width, v9); *(_QWORD *)v10 = off_1008E2EF0; *((_QWORD *)v10 + 40) = off_1008E3370; *((_QWORD *)v10 + 41) = &off_1008E33E0; *((_QWORD *)v10 + 42) = off_1008E33F8; *((_QWORD *)v10 + 43) = off_1008E3418; *((_QWORD *)v10 + 44) = off_1008E3438; return (TableViewCell *)v10; case Level: case Level2: *(float *)&v8 = v9; goto LABEL_29; case Comment: v10 = (char *)operator new(0x258u); TableViewCell::TableViewCell((TableViewCell *)v10, a2, a1->m_width, v9); goto LABEL_44; case Comment2: case Comment3: v10 = (char *)operator new(0x258u); TableViewCell::TableViewCell((TableViewCell *)v10, a2, a1->m_width, v9); *(_QWORD *)v10 = off_1008E6628; *((_QWORD *)v10 + 40) = off_1008E6AB8; *((_QWORD *)v10 + 41) = &off_1008E6B28; *((_QWORD *)v10 + 42) = off_1008E6B40; *((_QWORD *)v10 + 43) = off_1008E6B60; *((_QWORD *)v10 + 44) = off_1008E6B80; *((_QWORD *)v10 + 69) = &off_1008E6BA8; *((_QWORD *)v10 + 70) = &off_1008E6BC0; *(_OWORD *)(v10 + 568) = 0; *((_QWORD *)v10 + 73) = 0; v10[594] = 1; return (TableViewCell *)v10; case Song: v4 = v9; goto LABEL_47; case Score: v4 = v9; goto LABEL_37; case MapPack: goto LABEL_9; case CustomSong: goto LABEL_10; case Comment4: *(float *)&v8 = v9; goto LABEL_35; case Request: goto LABEL_14; case Message: goto LABEL_18; case Comment4|Achievement: *(float *)&v7 = v9; goto LABEL_51; case Artist: *(float *)&v7 = v9; goto LABEL_49; case SmartTemplate: *(float *)&v7 = v9; goto LABEL_31; case SFX: v4 = v9; goto LABEL_40; case SFX2: goto LABEL_12; case CustomMusic: v4 = v9; goto LABEL_33; case Options: goto LABEL_24; case LevelList: case LevelList2: v10 = (char *)operator new(0x238u); TableViewCell::TableViewCell((TableViewCell *)v10, a2, a1->m_width, v9); *(_QWORD *)v10 = off_1008E9358; *((_QWORD *)v10 + 40) = off_1008E97D8; *((_QWORD *)v10 + 41) = &off_1008E9848; *((_QWORD *)v10 + 42) = off_1008E9860; *((_QWORD *)v10 + 43) = off_1008E9880; *((_QWORD *)v10 + 44) = off_1008E98A0; *((_QWORD *)v10 + 69) = 0; v10[560] = 0; return (TableViewCell *)v10; case Level3: case Level4: v20 = v9; v10 = (char *)operator new(0x260u); v18 = a1->m_width; TableViewCell::TableViewCell((TableViewCell *)v10, a2, v18, v20); *(_QWORD *)v10 = off_1008E3460; *((_QWORD *)v10 + 40) = off_1008E38E0; *((_QWORD *)v10 + 41) = &off_1008E3950; *((_QWORD *)v10 + 42) = off_1008E3968; *((_QWORD *)v10 + 43) = off_1008E3988; *((_QWORD *)v10 + 44) = off_1008E39A8; sub_10028CC30(v10 + 584); v10[568] = 0; v10[600] = 0; (*(void (__fastcall **)(char *, float, float, double, double))(*(_QWORD *)v10 + 80LL))(v10, v18, v20, v7, v8); v10[600] = 1; return (TableViewCell *)v10; case LevelList3: v10 = (char *)operator new(0x238u); TableViewCell::TableViewCell((TableViewCell *)v10, a2, a1->m_width, v9); *(_QWORD *)v10 = off_1008E9358; *((_QWORD *)v10 + 40) = off_1008E97D8; *((_QWORD *)v10 + 41) = &off_1008E9848; *((_QWORD *)v10 + 42) = off_1008E9860; *((_QWORD *)v10 + 43) = off_1008E9880; *((_QWORD *)v10 + 44) = off_1008E98A0; *((_QWORD *)v10 + 69) = 0; v10[560] = 1; return (TableViewCell *)v10; case LocalLevelScore: goto LABEL_16; case URL: goto LABEL_21; default: return BoomListView::getListCell(a1, a2); } } }