{"type": "func", "start": 4297235280, "end": 4297235590, "name": "CustomMusicCell::loadFromObject", "pseudocode": "// \n// CustomMusicCell::loadFromObject from 0x100229b50 to 0x100229c86 (310 bytes)\n// \n// 1 xrefs:\n// > CustomListView::loadCell @ 0x100227f7a\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:27:06 +0000\n// \n\n__int64 __fastcall CustomMusicCell::loadFromObject(__int64 a1, __int64 a2)\n{\n  __int64 v2; // rax\n  __int64 v4; // rdi\n  int v5; // eax\n  int v6; // r10d\n  _BYTE *v7; // r14\n  __int64 result; // rax\n  _QWORD v9[4]; // [rsp+0h] [rbp-20h] BYREF\n\n  v9[0] = v2;\n  (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 536) + 584LL))(*(_QWORD *)(a1 + 536), 1);\n  *(_QWORD *)(a1 + 560) = a2;\n  v4 = *(_QWORD *)(*(_QWORD *)(a1 + 416) + 632LL);\n  if ( !v4 || (v5 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 64LL))(v4), v6 = 0, v5 == 1) )\n    v6 = 1;\n  v7 = (_BYTE *)CustomSongWidget::create(*(_QWORD *)(a1 + 560), (int)a1 + 552, 1, 1, 1, 0, 0, 1, v6, 1, 0);\n  (*(void (__fastcall **)(_QWORD, _BYTE *, __int64))(**(_QWORD **)(a1 + 536) + 464LL))(*(_QWORD *)(a1 + 536), v7, 2);\n  sub_100278250(v9, *(float *)(a1 + 520) * 0.5, 0.5 * *(float *)(a1 + 524));\n  (*(void (__fastcall **)(_BYTE *, _QWORD *))(*(_QWORD *)v7 + 184LL))(v7, v9);\n  v7[512] = 1;\n  CustomSongWidget::addExtraVisuals(\n    v7,\n    *(unsigned __int8 *)(*(_QWORD *)(a1 + 560) + 448LL),\n    *(_DWORD *)(*(_QWORD *)(a1 + 560) + 452LL) > 0);\n  LODWORD(v7) = *(_DWORD *)(*(_QWORD *)(a1 + 560) + 316LL);\n  result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 1160LL))(a1);\n  *(_BYTE *)(a1 + 568) = (_DWORD)v7 == (_DWORD)result;\n  return result;\n}", "assembly": "; \n; CustomMusicCell::loadFromObject from 0x100229b50 to 0x100229c86 (310 bytes)\n; \n; 1 xrefs:\n; > CustomListView::loadCell @ 0x100227f7a\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:27:06 +0000\n; \npush    rbp                                                            ; +0x0, 0x100229b50\nmov     rbp, rsp                                                       ; +0x1, 0x100229b51\npush    r15                                                            ; +0x4, 0x100229b54\npush    r14                                                            ; +0x6, 0x100229b56\npush    rbx                                                            ; +0x8, 0x100229b58\npush    rax                                                            ; +0x9, 0x100229b59\nmov     r14, rsi                                                       ; +0xa, 0x100229b5a\nmov     rbx, rdi                                                       ; +0xd, 0x100229b5d\nmov     rdi, [rdi+218h]                                                ; +0x10, 0x100229b60\nmov     rax, [rdi]                                                     ; +0x17, 0x100229b67\nmov     esi, 1                                                         ; +0x1a, 0x100229b6a\ncall    qword ptr [rax+248h]                                           ; +0x1f, 0x100229b6f\nmov     [rbx+230h], r14                                                ; +0x25, 0x100229b75\nmov     rax, [rbx+1A0h]                                                ; +0x2c, 0x100229b7c\nmov     rdi, [rax+278h]                                                ; +0x33, 0x100229b83\ntest    rdi, rdi                                                       ; +0x3a, 0x100229b8a\njz      short loc_100229B9D                                            ; +0x3d, 0x100229b8d\nmov     rax, [rdi]                                                     ; +0x3f, 0x100229b8f\ncall    qword ptr [rax+40h]                                            ; +0x42, 0x100229b92\nxor     r10d, r10d                                                     ; +0x45, 0x100229b95\ncmp     eax, 1                                                         ; +0x48, 0x100229b98\njnz     short loc_100229BA3                                            ; +0x4b, 0x100229b9b\nmov     r10d, 1                                                        ; +0x4d, 0x100229b9d\nmov     rdi, [rbx+230h]                                                ; +0x53, 0x100229ba3\nlea     rsi, [rbx+228h]                                                ; +0x5a, 0x100229baa\nsub     rsp, 8                                                         ; +0x61, 0x100229bb1\nmov     edx, 1                                                         ; +0x65, 0x100229bb5\nmov     ecx, 1                                                         ; +0x6a, 0x100229bba\nmov     r8d, 1                                                         ; +0x6f, 0x100229bbf\nxor     r9d, r9d                                                       ; +0x75, 0x100229bc5\npush    0                                                              ; +0x78, 0x100229bc8\npush    1                                                              ; +0x7a, 0x100229bca\npush    r10                                                            ; +0x7c, 0x100229bcc\npush    1                                                              ; +0x7e, 0x100229bce\npush    0                                                              ; +0x80, 0x100229bd0\ncall    CustomSongWidget__create                                       ; +0x82, 0x100229bd2\nadd     rsp, 30h                                                       ; +0x87, 0x100229bd7\nmov     r14, rax                                                       ; +0x8b, 0x100229bdb\nmov     rdi, [rbx+218h]                                                ; +0x8e, 0x100229bde\nmov     rax, [rdi]                                                     ; +0x95, 0x100229be5\nmov     rsi, r14                                                       ; +0x98, 0x100229be8\nmov     edx, 2                                                         ; +0x9b, 0x100229beb\ncall    qword ptr [rax+1D0h]                                           ; +0xa0, 0x100229bf0\nmovss   xmm1, cs:dword_100A03578                                       ; +0xa6, 0x100229bf6\nmovss   xmm0, dword ptr [rbx+208h]                                     ; +0xae, 0x100229bfe\nmulss   xmm0, xmm1                                                     ; +0xb6, 0x100229c06\nmulss   xmm1, dword ptr [rbx+20Ch]                                     ; +0xba, 0x100229c0a\nlea     r15, [rbp+var_20]                                              ; +0xc2, 0x100229c12\nmov     rdi, r15                                                       ; +0xc6, 0x100229c16\ncall    sub_100278250                                                  ; +0xc9, 0x100229c19\nmov     rax, [r14]                                                     ; +0xce, 0x100229c1e\nmov     rdi, r14                                                       ; +0xd1, 0x100229c21\nmov     rsi, r15                                                       ; +0xd4, 0x100229c24\ncall    qword ptr [rax+0B8h]                                           ; +0xd7, 0x100229c27\nmov     byte ptr [r14+200h], 1                                         ; +0xdd, 0x100229c2d\nmov     rax, [rbx+230h]                                                ; +0xe5, 0x100229c35\nmovzx   esi, byte ptr [rax+1C0h]                                       ; +0xec, 0x100229c3c\nxor     edx, edx                                                       ; +0xf3, 0x100229c43\ncmp     dword ptr [rax+1C4h], 0                                        ; +0xf5, 0x100229c45\nsetnle  dl                                                             ; +0xfc, 0x100229c4c\nmov     rdi, r14                                                       ; +0xff, 0x100229c4f\ncall    CustomSongWidget__addExtraVisuals                              ; +0x102, 0x100229c52\nmov     rax, [rbx+230h]                                                ; +0x107, 0x100229c57\nmov     r14d, [rax+13Ch]                                               ; +0x10e, 0x100229c5e\nmov     rax, [rbx]                                                     ; +0x115, 0x100229c65\nmov     rdi, rbx                                                       ; +0x118, 0x100229c68\ncall    qword ptr [rax+488h]                                           ; +0x11b, 0x100229c6b\ncmp     r14d, eax                                                      ; +0x121, 0x100229c71\nsetz    byte ptr [rbx+238h]                                            ; +0x124, 0x100229c74\nadd     rsp, 8                                                         ; +0x12b, 0x100229c7b\npop     rbx                                                            ; +0x12f, 0x100229c7f\npop     r14                                                            ; +0x130, 0x100229c80\npop     r15                                                            ; +0x132, 0x100229c82\npop     rbp                                                            ; +0x134, 0x100229c84\nretn                                                                   ; +0x135, 0x100229c85", "xrefs": ["CustomListView::loadCell @ 0x100227f7a"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}