{"type": "func", "start": 5370165808, "end": 5370166010, "name": "CustomSongLayer::dCustomSongLayer", "pseudocode": "// \n// CustomSongLayer::dCustomSongLayer from 0x140163a30 to 0x140163afa (202 bytes)\n// \n// 3 xrefs:\n// > sub_140168F44 @ 0x140168f4b\n// > <???> @ 0x1407440c8\n// > <???> @ 0x140917e04\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 11:27:26 +0000\n// \n\n_QWORD *__fastcall CustomSongLayer::dCustomSongLayer(_QWORD *Block, char a2)\n{\n  *Block = &CustomSongLayer::`vftable';\n  Block[40] = &CustomSongLayer::`vftable';\n  Block[41] = &CustomSongLayer::`vftable';\n  Block[42] = &CustomSongLayer::`vftable';\n  Block[43] = &CustomSongLayer::`vftable';\n  Block[44] = &CustomSongLayer::`vftable';\n  Block[51] = &CustomSongLayer::`vftable';\n  Block[54] = &CustomSongLayer::`vftable';\n  Block[68] = &CustomSongLayer::`vftable';\n  Block[83] = &CustomSongLayer::`vftable';\n  Block[84] = &CustomSongLayer::`vftable';\n  FLAlertLayer::dFLAlertLayer((__int64)Block);\n  if ( (a2 & 1) != 0 )\n    j_j_free(Block);\n  return Block;\n}", "assembly": "; \n; CustomSongLayer::dCustomSongLayer from 0x140163a30 to 0x140163afa (202 bytes)\n; \n; 3 xrefs:\n; > sub_140168F44 @ 0x140168f4b\n; > <???> @ 0x1407440c8\n; > <???> @ 0x140917e04\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 11:27:26 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x140163a30\npush    rdi                                                            ; +0x5, 0x140163a35\nsub     rsp, 20h                                                       ; +0x6, 0x140163a36\nlea     rax, ??_7CustomSongLayer@@6B@; const CustomSongLayer::`vftable' ; +0xa, 0x140163a3a\nmov     ebx, edx                                                       ; +0x11, 0x140163a41\nmov     [rcx], rax                                                     ; +0x13, 0x140163a43\nmov     rdi, rcx                                                       ; +0x16, 0x140163a46\nlea     rax, ??_7CustomSongLayer@@6B@_0; const CustomSongLayer::`vftable' ; +0x19, 0x140163a49\nmov     [rcx+140h], rax                                                ; +0x20, 0x140163a50\nlea     rax, ??_7CustomSongLayer@@6B@_1; const CustomSongLayer::`vftable' ; +0x27, 0x140163a57\nmov     [rcx+148h], rax                                                ; +0x2e, 0x140163a5e\nlea     rax, ??_7CustomSongLayer@@6B@_2; const CustomSongLayer::`vftable' ; +0x35, 0x140163a65\nmov     [rcx+150h], rax                                                ; +0x3c, 0x140163a6c\nlea     rax, ??_7CustomSongLayer@@6B@_3; const CustomSongLayer::`vftable' ; +0x43, 0x140163a73\nmov     [rcx+158h], rax                                                ; +0x4a, 0x140163a7a\nlea     rax, ??_7CustomSongLayer@@6B@_4; const CustomSongLayer::`vftable' ; +0x51, 0x140163a81\nmov     [rcx+160h], rax                                                ; +0x58, 0x140163a88\nlea     rax, ??_7CustomSongLayer@@6B@_5; const CustomSongLayer::`vftable' ; +0x5f, 0x140163a8f\nmov     [rcx+198h], rax                                                ; +0x66, 0x140163a96\nlea     rax, ??_7CustomSongLayer@@6B@_6; const CustomSongLayer::`vftable' ; +0x6d, 0x140163a9d\nmov     [rcx+1B0h], rax                                                ; +0x74, 0x140163aa4\nlea     rax, ??_7CustomSongLayer@@6B@_7; const CustomSongLayer::`vftable' ; +0x7b, 0x140163aab\nmov     [rcx+220h], rax                                                ; +0x82, 0x140163ab2\nlea     rax, ??_7CustomSongLayer@@6B@_8; const CustomSongLayer::`vftable' ; +0x89, 0x140163ab9\nmov     [rcx+298h], rax                                                ; +0x90, 0x140163ac0\nlea     rax, ??_7CustomSongLayer@@6B@_9; const CustomSongLayer::`vftable' ; +0x97, 0x140163ac7\nmov     [rcx+2A0h], rax                                                ; +0x9e, 0x140163ace\ncall    FLAlertLayer__dFLAlertLayer; Merged with: FLAlertLayer::~FLAlertLayer, DailyRecallUnlockPopup::~DailyRecallUnlockPopup, DemonInfoPopup::~DemonInfoPopup, EditorSoundsSettingsPopup::~EditorSoundsSettingsPopup, GJPathRewardPopup::~GJPathRewardPopup, GJPromoPopup::~GJPromoPopup, LevelStatsInfoPopup::~LevelStatsInfoPopup, NCSInfoLayer::~NCSInfoLayer, NewgroundsInfoLayer::~NewgroundsInfoLayer, SelectSFXSortLayer::~SelectSFXSortLayer, StarInfoPopup::~StarInfoPopup ; +0xa5, 0x140163ad5\ntest    bl, 1                                                          ; +0xaa, 0x140163ada\njz      short loc_140163AEC                                            ; +0xad, 0x140163add\nmov     edx, 2C8h                                                      ; +0xaf, 0x140163adf\nmov     rcx, rdi; Block                                                ; +0xb4, 0x140163ae4\ncall    j_j_free                                                       ; +0xb7, 0x140163ae7\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xbc, 0x140163aec\nmov     rax, rdi                                                       ; +0xc1, 0x140163af1\nadd     rsp, 20h                                                       ; +0xc4, 0x140163af4\npop     rdi                                                            ; +0xc8, 0x140163af8\nretn                                                                   ; +0xc9, 0x140163af9", "xrefs": ["sub_140168F44 @ 0x140168f4b", "<???> @ 0x1407440c8", "<???> @ 0x140917e04"], "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"}