{"type": "func", "start": 5373502992, "end": 5373503783, "name": "SongInfoLayer::create", "pseudocode": "// \n// SongInfoLayer::create from 0x140492610 to 0x140492927 (791 bytes)\n// \n// 3 xrefs:\n// > CustomSongWidget::onMore @ 0x1400ca8f6\n// > SongInfoLayer::create_1 @ 0x140492583\n// > <???> @ 0x1406dc11c\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n// Hidden C++ exception states: #wind=14\nchar *__fastcall SongInfoLayer::create(\n        __int64 a1,\n        __int64 a2,\n        __int64 a3,\n        __int64 a4,\n        __int64 a5,\n        __int64 a6,\n        int a7,\n        __int64 a8,\n        int a9)\n{\n  __int64 v10; // rdi\n  __int64 v11; // rbx\n  char *v12; // r13\n  __int64 v13; // r12\n  __int64 v14; // r15\n  __int64 v15; // r14\n  __int64 v16; // rsi\n  int v17; // eax\n  char v23[32]; // [rsp+C0h] [rbp-40h] BYREF\n  char v24[32]; // [rsp+E0h] [rbp-20h] BYREF\n  char v25[32]; // [rsp+100h] [rbp+0h] BYREF\n  char v26[32]; // [rsp+120h] [rbp+20h] BYREF\n  char v27[32]; // [rsp+140h] [rbp+40h] BYREF\n  char v28[32]; // [rsp+160h] [rbp+60h] BYREF\n  char v29[32]; // [rsp+180h] [rbp+80h] BYREF\n  __int64 v30; // [rsp+1A0h] [rbp+A0h]\n  __int64 v31; // [rsp+1A8h] [rbp+A8h]\n  __int64 v32; // [rsp+1B0h] [rbp+B0h]\n  __int64 v33; // [rsp+1B8h] [rbp+B8h]\n  __int64 v34; // [rsp+1C0h] [rbp+C0h]\n  __int64 v35; // [rsp+1C8h] [rbp+C8h]\n  __int64 v36; // [rsp+1D0h] [rbp+D0h]\n\n  v10 = a3;\n  v11 = a2;\n  v30 = a1;\n  v31 = a2;\n  v32 = a3;\n  v33 = a4;\n  v34 = a5;\n  v35 = a6;\n  v36 = a8;\n  v12 = (char *)operator new(0x300u);\n  FLAlertLayer::FLAlertLayer((FLAlertLayer *)v12);\n  *(_QWORD *)v12 = &SongInfoLayer::`vftable';\n  *((_QWORD *)v12 + 40) = &SongInfoLayer::`vftable';\n  *((_QWORD *)v12 + 41) = &SongInfoLayer::`vftable';\n  *((_QWORD *)v12 + 42) = &SongInfoLayer::`vftable';\n  *((_QWORD *)v12 + 43) = &SongInfoLayer::`vftable';\n  *((_QWORD *)v12 + 44) = &SongInfoLayer::`vftable';\n  *((_QWORD *)v12 + 51) = &SongInfoLayer::`vftable';\n  *((_QWORD *)v12 + 54) = &SongInfoLayer::`vftable';\n  *(_OWORD *)(v12 + 632) = 0;\n  *((_QWORD *)v12 + 81) = 0;\n  *((_QWORD *)v12 + 82) = 15;\n  v12[632] = 0;\n  *(_OWORD *)(v12 + 664) = 0;\n  *((_QWORD *)v12 + 85) = 0;\n  *((_QWORD *)v12 + 86) = 15;\n  v12[664] = 0;\n  *(_OWORD *)(v12 + 696) = 0;\n  *((_QWORD *)v12 + 89) = 0;\n  *((_QWORD *)v12 + 90) = 15;\n  v12[696] = 0;\n  *(_OWORD *)(v12 + 728) = 0;\n  *((_QWORD *)v12 + 93) = 0;\n  *((_QWORD *)v12 + 94) = 15;\n  v12[728] = 0;\n  *((_DWORD *)v12 + 191) = 0;\n  v13 = sub_14003BDB0((__int64)v23, a8);\n  v14 = sub_14003BDB0((__int64)v24, a6);\n  v15 = sub_14003BDB0((__int64)v25, a5);\n  v16 = sub_14003BDB0((__int64)v26, a4);\n  LODWORD(v10) = sub_14003BDB0((__int64)v27, v10);\n  LODWORD(v11) = sub_14003BDB0((__int64)v28, v11);\n  v17 = sub_14003BDB0((__int64)v29, a1);\n  if ( (unsigned __int8)SongInfoLayer::init((_DWORD)v12, v17, v11, v10, v16, v15, v14, a7, v13, a9) )\n  {\n    cocos2d::CCObject::autorelease((cocos2d::CCObject *)v12);\n  }\n  else\n  {\n    (*(void (__fastcall **)(char *, __int64))(*(_QWORD *)v12 + 8LL))(v12, 1);\n    v12 = nullptr;\n  }\n  sub_14003A830(a1);\n  sub_14003A830(a2);\n  sub_14003A830(a3);\n  sub_14003A830(a4);\n  sub_14003A830(a5);\n  sub_14003A830(a6);\n  sub_14003A830(a8);\n  return v12;\n}", "assembly": "; \n; SongInfoLayer::create from 0x140492610 to 0x140492927 (791 bytes)\n; \n; 3 xrefs:\n; > CustomSongWidget::onMore @ 0x1400ca8f6\n; > SongInfoLayer::create_1 @ 0x140492583\n; > <???> @ 0x1406dc11c\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbp                                                            ; +0x0, 0x140492610\npush    rbx                                                            ; +0x2, 0x140492612\npush    rsi                                                            ; +0x3, 0x140492613\npush    rdi                                                            ; +0x4, 0x140492614\npush    r12                                                            ; +0x5, 0x140492615\npush    r13                                                            ; +0x7, 0x140492617\npush    r14                                                            ; +0x9, 0x140492619\npush    r15                                                            ; +0xb, 0x14049261b\nlea     rbp, [rsp-0E8h]                                                ; +0xd, 0x14049261d\nsub     rsp, 1E8h                                                      ; +0x15, 0x140492625\nmov     rax, cs:__security_cookie                                      ; +0x1c, 0x14049262c\nxor     rax, rsp                                                       ; +0x23, 0x140492633\nmov     [rbp+120h+var_48], rax                                         ; +0x26, 0x140492636\nmov     rsi, r9                                                        ; +0x2d, 0x14049263d\nmov     [rsp+220h+var_1B8], r9                                         ; +0x30, 0x140492640\nmov     rdi, r8                                                        ; +0x35, 0x140492645\nmov     [rsp+220h+var_1C0], r8                                         ; +0x38, 0x140492648\nmov     rbx, rdx                                                       ; +0x3d, 0x14049264d\nmov     [rsp+220h+var_1C8], rdx                                        ; +0x40, 0x140492650\nmov     [rsp+220h+var_1D0], rcx                                        ; +0x45, 0x140492655\nmov     [rbp+120h+var_80], rcx                                         ; +0x4a, 0x14049265a\nmov     [rbp+120h+var_78], rdx                                         ; +0x51, 0x140492661\nmov     [rbp+120h+var_70], r8                                          ; +0x58, 0x140492668\nmov     [rbp+120h+var_68], r9                                          ; +0x5f, 0x14049266f\nmov     r14, [rbp+120h+arg_20]                                         ; +0x66, 0x140492676\nmov     [rsp+220h+var_1B0], r14                                        ; +0x6d, 0x14049267d\nmov     [rbp+120h+var_60], r14                                         ; +0x72, 0x140492682\nmov     r15, [rbp+120h+arg_28]                                         ; +0x79, 0x140492689\nmov     [rsp+220h+var_1A8], r15                                        ; +0x80, 0x140492690\nmov     [rbp+120h+var_58], r15                                         ; +0x85, 0x140492695\nmov     r12, [rbp+120h+arg_38]                                         ; +0x8c, 0x14049269c\nmov     [rbp+120h+var_1A0], r12                                        ; +0x93, 0x1404926a3\nmov     [rbp+120h+var_50], r12                                         ; +0x97, 0x1404926a7\nmov     ecx, 300h; Size                                                ; +0x9e, 0x1404926ae\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xa3, 0x1404926b3\nmov     r13, rax                                                       ; +0xa8, 0x1404926b8\nmov     [rbp+120h+var_198], rax                                        ; +0xab, 0x1404926bb\nmov     rcx, rax                                                       ; +0xaf, 0x1404926bf\ncall    FLAlertLayer__FLAlertLayer                                     ; +0xb2, 0x1404926c2\nlea     rax, ??_7SongInfoLayer@@6B@; const SongInfoLayer::`vftable'    ; +0xb7, 0x1404926c7\nmov     [r13+0], rax                                                   ; +0xbe, 0x1404926ce\nlea     rax, ??_7SongInfoLayer@@6B@_0; const SongInfoLayer::`vftable'  ; +0xc2, 0x1404926d2\nmov     [r13+140h], rax                                                ; +0xc9, 0x1404926d9\nlea     rax, ??_7SongInfoLayer@@6B@_1; const SongInfoLayer::`vftable'  ; +0xd0, 0x1404926e0\nmov     [r13+148h], rax                                                ; +0xd7, 0x1404926e7\nlea     rax, ??_7SongInfoLayer@@6B@_2; const SongInfoLayer::`vftable'  ; +0xde, 0x1404926ee\nmov     [r13+150h], rax                                                ; +0xe5, 0x1404926f5\nlea     rax, ??_7SongInfoLayer@@6B@_3; const SongInfoLayer::`vftable'  ; +0xec, 0x1404926fc\nmov     [r13+158h], rax                                                ; +0xf3, 0x140492703\nlea     rax, ??_7SongInfoLayer@@6B@_4; const SongInfoLayer::`vftable'  ; +0xfa, 0x14049270a\nmov     [r13+160h], rax                                                ; +0x101, 0x140492711\nlea     rax, ??_7SongInfoLayer@@6B@_5; const SongInfoLayer::`vftable'  ; +0x108, 0x140492718\nmov     [r13+198h], rax                                                ; +0x10f, 0x14049271f\nlea     rax, ??_7SongInfoLayer@@6B@_6; const SongInfoLayer::`vftable'  ; +0x116, 0x140492726\nmov     [r13+1B0h], rax                                                ; +0x11d, 0x14049272d\nxorps   xmm0, xmm0                                                     ; +0x124, 0x140492734\nmovups  xmmword ptr [r13+278h], xmm0                                   ; +0x127, 0x140492737\nxor     eax, eax                                                       ; +0x12f, 0x14049273f\nmov     [r13+288h], rax                                                ; +0x131, 0x140492741\nmov     qword ptr [r13+290h], 0Fh                                      ; +0x138, 0x140492748\nmov     [r13+278h], al                                                 ; +0x143, 0x140492753\nmovups  xmmword ptr [r13+298h], xmm0                                   ; +0x14a, 0x14049275a\nmov     [r13+2A8h], rax                                                ; +0x152, 0x140492762\nmov     qword ptr [r13+2B0h], 0Fh                                      ; +0x159, 0x140492769\nmov     [r13+298h], al                                                 ; +0x164, 0x140492774\nmovups  xmmword ptr [r13+2B8h], xmm0                                   ; +0x16b, 0x14049277b\nmov     [r13+2C8h], rax                                                ; +0x173, 0x140492783\nmov     qword ptr [r13+2D0h], 0Fh                                      ; +0x17a, 0x14049278a\nmov     [r13+2B8h], al                                                 ; +0x185, 0x140492795\nmovups  xmmword ptr [r13+2D8h], xmm0                                   ; +0x18c, 0x14049279c\nmov     [r13+2E8h], rax                                                ; +0x194, 0x1404927a4\nmov     qword ptr [r13+2F0h], 0Fh                                      ; +0x19b, 0x1404927ab\nmov     [r13+2D8h], al                                                 ; +0x1a6, 0x1404927b6\nmov     [r13+2FCh], eax                                                ; +0x1ad, 0x1404927bd\nlea     rax, [rbp+120h+var_160]                                        ; +0x1b4, 0x1404927c4\nmov     [rbp+120h+var_198], rax                                        ; +0x1b8, 0x1404927c8\nlea     rax, [rbp+120h+var_140]                                        ; +0x1bc, 0x1404927cc\nmov     [rbp+120h+var_190], rax                                        ; +0x1c0, 0x1404927d0\nlea     rax, [rbp+120h+var_120]                                        ; +0x1c4, 0x1404927d4\nmov     [rbp+120h+var_188], rax                                        ; +0x1c8, 0x1404927d8\nlea     rax, [rbp+120h+var_100]                                        ; +0x1cc, 0x1404927dc\nmov     [rbp+120h+var_180], rax                                        ; +0x1d0, 0x1404927e0\nlea     rax, [rbp+120h+var_E0]                                         ; +0x1d4, 0x1404927e4\nmov     [rbp+120h+var_178], rax                                        ; +0x1d8, 0x1404927e8\nlea     rax, [rbp+120h+var_C0]                                         ; +0x1dc, 0x1404927ec\nmov     [rbp+120h+var_170], rax                                        ; +0x1e0, 0x1404927f0\nmov     rdx, r12                                                       ; +0x1e4, 0x1404927f4\nlea     rcx, [rbp+120h+var_160]                                        ; +0x1e7, 0x1404927f7\ncall    sub_14003BDB0                                                  ; +0x1eb, 0x1404927fb\nmov     r12, rax                                                       ; +0x1f0, 0x140492800\nmov     rdx, r15                                                       ; +0x1f3, 0x140492803\nlea     rcx, [rbp+120h+var_140]                                        ; +0x1f6, 0x140492806\ncall    sub_14003BDB0                                                  ; +0x1fa, 0x14049280a\nmov     r15, rax                                                       ; +0x1ff, 0x14049280f\nmov     rdx, r14                                                       ; +0x202, 0x140492812\nlea     rcx, [rbp+120h+var_120]                                        ; +0x205, 0x140492815\ncall    sub_14003BDB0                                                  ; +0x209, 0x140492819\nmov     r14, rax                                                       ; +0x20e, 0x14049281e\nmov     rdx, rsi                                                       ; +0x211, 0x140492821\nlea     rcx, [rbp+120h+var_100]                                        ; +0x214, 0x140492824\ncall    sub_14003BDB0                                                  ; +0x218, 0x140492828\nmov     rsi, rax                                                       ; +0x21d, 0x14049282d\nmov     rdx, rdi                                                       ; +0x220, 0x140492830\nlea     rcx, [rbp+120h+var_E0]                                         ; +0x223, 0x140492833\ncall    sub_14003BDB0                                                  ; +0x227, 0x140492837\nmov     rdi, rax                                                       ; +0x22c, 0x14049283c\nmov     rdx, rbx                                                       ; +0x22f, 0x14049283f\nlea     rcx, [rbp+120h+var_C0]                                         ; +0x232, 0x140492842\ncall    sub_14003BDB0                                                  ; +0x236, 0x140492846\nmov     rbx, rax                                                       ; +0x23b, 0x14049284b\nmov     rdx, [rsp+220h+var_1D0]                                        ; +0x23e, 0x14049284e\nlea     rcx, [rbp+120h+var_A0]                                         ; +0x243, 0x140492853\ncall    sub_14003BDB0                                                  ; +0x24a, 0x14049285a\nmov     rdx, rax                                                       ; +0x24f, 0x14049285f\nmov     eax, [rbp+120h+arg_40]                                         ; +0x252, 0x140492862\nmov     [rsp+220h+var_1D8], eax                                        ; +0x258, 0x140492868\nmov     [rsp+220h+var_1E0], r12                                        ; +0x25c, 0x14049286c\nmov     eax, [rbp+120h+arg_30]                                         ; +0x261, 0x140492871\nmov     [rsp+220h+var_1E8], eax                                        ; +0x267, 0x140492877\nmov     [rsp+220h+var_1F0], r15                                        ; +0x26b, 0x14049287b\nmov     [rsp+220h+var_1F8], r14                                        ; +0x270, 0x140492880\nmov     [rsp+220h+var_200], rsi                                        ; +0x275, 0x140492885\nmov     r9, rdi                                                        ; +0x27a, 0x14049288a\nmov     r8, rbx                                                        ; +0x27d, 0x14049288d\nmov     rcx, r13                                                       ; +0x280, 0x140492890\ncall    SongInfoLayer__init                                            ; +0x283, 0x140492893\nmov     rcx, r13                                                       ; +0x288, 0x140492898\ntest    al, al                                                         ; +0x28b, 0x14049289b\njz      short loc_1404928A7                                            ; +0x28d, 0x14049289d\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x28f, 0x14049289f\njmp     short loc_1404928B6                                            ; +0x295, 0x1404928a5\nmov     rax, [r13+0]                                                   ; +0x297, 0x1404928a7\nmov     edx, 1                                                         ; +0x29b, 0x1404928ab\ncall    qword ptr [rax+8]                                              ; +0x2a0, 0x1404928b0\nxor     r13d, r13d                                                     ; +0x2a3, 0x1404928b3\nmov     rcx, [rsp+220h+var_1D0]                                        ; +0x2a6, 0x1404928b6\ncall    sub_14003A830                                                  ; +0x2ab, 0x1404928bb\nnop                                                                    ; +0x2b0, 0x1404928c0\nmov     rcx, [rsp+220h+var_1C8]                                        ; +0x2b1, 0x1404928c1\ncall    sub_14003A830                                                  ; +0x2b6, 0x1404928c6\nnop                                                                    ; +0x2bb, 0x1404928cb\nmov     rcx, [rsp+220h+var_1C0]                                        ; +0x2bc, 0x1404928cc\ncall    sub_14003A830                                                  ; +0x2c1, 0x1404928d1\nnop                                                                    ; +0x2c6, 0x1404928d6\nmov     rcx, [rsp+220h+var_1B8]                                        ; +0x2c7, 0x1404928d7\ncall    sub_14003A830                                                  ; +0x2cc, 0x1404928dc\nnop                                                                    ; +0x2d1, 0x1404928e1\nmov     rcx, [rsp+220h+var_1B0]                                        ; +0x2d2, 0x1404928e2\ncall    sub_14003A830                                                  ; +0x2d7, 0x1404928e7\nnop                                                                    ; +0x2dc, 0x1404928ec\nmov     rcx, [rsp+220h+var_1A8]                                        ; +0x2dd, 0x1404928ed\ncall    sub_14003A830                                                  ; +0x2e2, 0x1404928f2\nnop                                                                    ; +0x2e7, 0x1404928f7\nmov     rcx, [rbp+120h+var_1A0]                                        ; +0x2e8, 0x1404928f8\ncall    sub_14003A830                                                  ; +0x2ec, 0x1404928fc\nmov     rax, r13                                                       ; +0x2f1, 0x140492901\nmov     rcx, [rbp+120h+var_48]                                         ; +0x2f4, 0x140492904\nxor     rcx, rsp; StackCookie                                          ; +0x2fb, 0x14049290b\ncall    __security_check_cookie                                        ; +0x2fe, 0x14049290e\nadd     rsp, 1E8h                                                      ; +0x303, 0x140492913\npop     r15                                                            ; +0x30a, 0x14049291a\npop     r14                                                            ; +0x30c, 0x14049291c\npop     r13                                                            ; +0x30e, 0x14049291e\npop     r12                                                            ; +0x310, 0x140492920\npop     rdi                                                            ; +0x312, 0x140492922\npop     rsi                                                            ; +0x313, 0x140492923\npop     rbx                                                            ; +0x314, 0x140492924\npop     rbp                                                            ; +0x315, 0x140492925\nretn                                                                   ; +0x316, 0x140492926", "xrefs": ["CustomSongWidget::onMore @ 0x1400ca8f6", "SongInfoLayer::create_1 @ 0x140492583", "<???> @ 0x1406dc11c"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}