{"type": "func", "start": 4302281264, "end": 4302281409, "name": "CustomSongWidget::updateSongObject", "pseudocode": "// \n// CustomSongWidget::updateSongObject from 0x1006f9a30 to 0x1006f9ac1 (145 bytes)\n// \n// 6 xrefs:\n// > CustomSongLayer::onSearch @ 0x1001f9173\n// > CustomSongLayer::dropDownLayerWillClose @ 0x1001f995e\n// > sub_1001F9970 @ 0x1001f99b5\n// > CustomSongLayer::musicBrowserClosed @ 0x1001f9a0e\n// > sub_1001F9A20 @ 0x1001f9a65\n// > SongSelectNode::onSongMode @ 0x1001fcc00\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:35:55 +0000\n// \n\n__int64 __fastcall CustomSongWidget::updateSongObject(__int64 a1, __int64 a2)\n{\n  __int64 v2; // r14\n  __int64 v4; // rdi\n  _DWORD *v5; // rdi\n  int v6; // eax\n\n  v2 = a2;\n  (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 376) + 344LL))(*(_QWORD *)(a1 + 376), 0);\n  v4 = *(_QWORD *)(a1 + 480);\n  if ( v4 )\n    (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v4 + 344LL))(v4, 0);\n  v5 = *(_DWORD **)(a1 + 336);\n  if ( v5 != (_DWORD *)a2 )\n  {\n    if ( a2 )\n    {\n      cocos2d::CCObject::retain(a2);\n      v5 = *(_DWORD **)(a1 + 336);\n    }\n    if ( v5 )\n      cocos2d::CCObject::release(v5);\n    *(_QWORD *)(a1 + 336) = a2;\n    if ( a2 )\n      goto LABEL_9;\nLABEL_11:\n    v6 = 0;\n    goto LABEL_12;\n  }\n  v2 = *(_QWORD *)(a1 + 336);\n  if ( !v5 )\n    goto LABEL_11;\nLABEL_9:\n  v6 = *(_DWORD *)(v2 + 316);\nLABEL_12:\n  *(_DWORD *)(a1 + 504) = v6;\n  return CustomSongWidget::updateSongInfo(a1);\n}", "assembly": "; \n; CustomSongWidget::updateSongObject from 0x1006f9a30 to 0x1006f9ac1 (145 bytes)\n; \n; 6 xrefs:\n; > CustomSongLayer::onSearch @ 0x1001f9173\n; > CustomSongLayer::dropDownLayerWillClose @ 0x1001f995e\n; > sub_1001F9970 @ 0x1001f99b5\n; > CustomSongLayer::musicBrowserClosed @ 0x1001f9a0e\n; > sub_1001F9A20 @ 0x1001f9a65\n; > SongSelectNode::onSongMode @ 0x1001fcc00\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:35:55 +0000\n; \npush    rbp                                                            ; +0x0, 0x1006f9a30\nmov     rbp, rsp                                                       ; +0x1, 0x1006f9a31\npush    r14                                                            ; +0x4, 0x1006f9a34\npush    rbx                                                            ; +0x6, 0x1006f9a36\nmov     r14, rsi                                                       ; +0x7, 0x1006f9a37\nmov     rbx, rdi                                                       ; +0xa, 0x1006f9a3a\nmov     rdi, [rdi+178h]                                                ; +0xd, 0x1006f9a3d\nmov     rax, [rdi]                                                     ; +0x14, 0x1006f9a44\nxor     esi, esi                                                       ; +0x17, 0x1006f9a47\ncall    qword ptr [rax+158h]                                           ; +0x19, 0x1006f9a49\nmov     rdi, [rbx+1E0h]                                                ; +0x1f, 0x1006f9a4f\ntest    rdi, rdi                                                       ; +0x26, 0x1006f9a56\njz      short loc_1006F9A66                                            ; +0x29, 0x1006f9a59\nmov     rax, [rdi]                                                     ; +0x2b, 0x1006f9a5b\nxor     esi, esi                                                       ; +0x2e, 0x1006f9a5e\ncall    qword ptr [rax+158h]                                           ; +0x30, 0x1006f9a60\nmov     rdi, [rbx+150h]                                                ; +0x36, 0x1006f9a66\ncmp     rdi, r14                                                       ; +0x3d, 0x1006f9a6d\njz      short loc_1006F9AA5                                            ; +0x40, 0x1006f9a70\ntest    r14, r14                                                       ; +0x42, 0x1006f9a72\njz      short loc_1006F9A86                                            ; +0x45, 0x1006f9a75\nmov     rdi, r14                                                       ; +0x47, 0x1006f9a77\ncall    cocos2d__CCObject__retain                                      ; +0x4a, 0x1006f9a7a\nmov     rdi, [rbx+150h]                                                ; +0x4f, 0x1006f9a7f\ntest    rdi, rdi                                                       ; +0x56, 0x1006f9a86\njz      short loc_1006F9A90                                            ; +0x59, 0x1006f9a89\ncall    cocos2d__CCObject__release                                     ; +0x5b, 0x1006f9a8b\nmov     [rbx+150h], r14                                                ; +0x60, 0x1006f9a90\ntest    r14, r14                                                       ; +0x67, 0x1006f9a97\njz      short loc_1006F9AAD                                            ; +0x6a, 0x1006f9a9a\nmov     eax, [r14+13Ch]                                                ; +0x6c, 0x1006f9a9c\njmp     short loc_1006F9AAF                                            ; +0x73, 0x1006f9aa3\nmov     r14, rdi                                                       ; +0x75, 0x1006f9aa5\ntest    r14, r14                                                       ; +0x78, 0x1006f9aa8\njnz     short loc_1006F9A9C                                            ; +0x7b, 0x1006f9aab\nxor     eax, eax                                                       ; +0x7d, 0x1006f9aad\nmov     [rbx+1F8h], eax                                                ; +0x7f, 0x1006f9aaf\nmov     rdi, rbx                                                       ; +0x85, 0x1006f9ab5\npop     rbx                                                            ; +0x88, 0x1006f9ab8\npop     r14                                                            ; +0x89, 0x1006f9ab9\npop     rbp                                                            ; +0x8b, 0x1006f9abb\njmp     CustomSongWidget__updateSongInfo                               ; +0x8c, 0x1006f9abc", "xrefs": ["CustomSongLayer::onSearch @ 0x1001f9173", "CustomSongLayer::dropDownLayerWillClose @ 0x1001f995e", "sub_1001F9970 @ 0x1001f99b5", "CustomSongLayer::musicBrowserClosed @ 0x1001f9a0e", "sub_1001F9A20 @ 0x1001f9a65", "SongSelectNode::onSongMode @ 0x1001fcc00"], "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"}