{"type": "func", "start": 5372140528, "end": 5372141141, "name": "SongInfoObject::create", "pseudocode": "// \n// SongInfoObject::create from 0x140345bf0 to 0x140345e55 (613 bytes)\n// \n// 6 xrefs:\n// > LevelTools::getSongObject @ 0x14032d371\n// > MusicDownloadManager::parseMusicLibrary @ 0x140341c2c\n// > SongInfoObject::create_1 @ 0x140344893\n// > SongInfoObject::create_2 @ 0x14034587a\n// > SongInfoObject::createWithCoder @ 0x1403464c1\n// > <???> @ 0x1406d58ac\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\ncocos2d::CCObject *__fastcall SongInfoObject::create(\n        int a1,\n        __int64 a2,\n        __int64 a3,\n        int a4,\n        int a5,\n        __int64 a6,\n        __int64 a7,\n        __int64 a8,\n        __int64 a9,\n        int a10,\n        __int64 a11,\n        char a12,\n        int a13,\n        int a14)\n{\n  cocos2d::CCObject *v15; // r13\n  __int64 v16; // r12\n  __int64 v17; // r15\n  __int64 v18; // r14\n  __int64 v19; // rsi\n  __int64 v20; // rdi\n  int v21; // ebx\n  int v22; // eax\n  void *v28; // [rsp+C0h] [rbp-40h]\n  _BYTE v29[32]; // [rsp+F8h] [rbp-8h] BYREF\n  _BYTE v30[32]; // [rsp+118h] [rbp+18h] BYREF\n  _BYTE v31[32]; // [rsp+138h] [rbp+38h] BYREF\n  _BYTE v32[32]; // [rsp+158h] [rbp+58h] BYREF\n  _BYTE v33[32]; // [rsp+178h] [rbp+78h] BYREF\n  _BYTE v34[32]; // [rsp+198h] [rbp+98h] BYREF\n  _BYTE v35[32]; // [rsp+1B8h] [rbp+B8h] BYREF\n  __int64 v36; // [rsp+1D8h] [rbp+D8h]\n  __int64 v37; // [rsp+1E0h] [rbp+E0h]\n  __int64 v38; // [rsp+1E8h] [rbp+E8h]\n  __int64 v39; // [rsp+1F0h] [rbp+F0h]\n  __int64 v40; // [rsp+1F8h] [rbp+F8h]\n  __int64 v41; // [rsp+200h] [rbp+100h]\n  __int64 v42; // [rsp+208h] [rbp+108h]\n\n  v36 = a2;\n  v37 = a3;\n  v38 = a6;\n  v39 = a7;\n  v40 = a8;\n  v41 = a9;\n  v42 = a11;\n  v28 = operator new(0x308u);\n  v15 = (cocos2d::CCObject *)sub_14033B4D0((__int64)v28);\n  if ( v15 )\n  {\n    v16 = sub_14003BDB0((__int64)v29, a11);\n    v17 = sub_14003BDB0((__int64)v30, a9);\n    v18 = sub_14003BDB0((__int64)v31, a8);\n    v19 = sub_14003BDB0((__int64)v32, a7);\n    v20 = sub_14003BDB0((__int64)v33, a6);\n    v21 = sub_14003BDB0((__int64)v34, a3);\n    v22 = sub_14003BDB0((__int64)v35, a2);\n    if ( (unsigned __int8)SongInfoObject::init(\n                            (_DWORD)v15,\n                            a1,\n                            v22,\n                            v21,\n                            a4,\n                            a5,\n                            v20,\n                            v19,\n                            v18,\n                            v17,\n                            a10,\n                            v16,\n                            a12,\n                            a13,\n                            a14) )\n    {\n      cocos2d::CCObject::autorelease(v15);\n    }\n    else\n    {\n      ((void (__fastcall *)(cocos2d::CCObject *, __int64))v15->~CCObject)(v15, 1);\n      v15 = nullptr;\n    }\n  }\n  sub_14003A830(a2);\n  sub_14003A830(a3);\n  sub_14003A830(a6);\n  sub_14003A830(a7);\n  sub_14003A830(a8);\n  sub_14003A830(a9);\n  sub_14003A830(a11);\n  return v15;\n}", "assembly": "; \n; SongInfoObject::create from 0x140345bf0 to 0x140345e55 (613 bytes)\n; \n; 6 xrefs:\n; > LevelTools::getSongObject @ 0x14032d371\n; > MusicDownloadManager::parseMusicLibrary @ 0x140341c2c\n; > SongInfoObject::create_1 @ 0x140344893\n; > SongInfoObject::create_2 @ 0x14034587a\n; > SongInfoObject::createWithCoder @ 0x1403464c1\n; > <???> @ 0x1406d58ac\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\nmov     [rsp-8+arg_18], rbx                                            ; +0x0, 0x140345bf0\npush    rbp                                                            ; +0x5, 0x140345bf5\npush    rsi                                                            ; +0x6, 0x140345bf6\npush    rdi                                                            ; +0x7, 0x140345bf7\npush    r12                                                            ; +0x8, 0x140345bf8\npush    r13                                                            ; +0xa, 0x140345bfa\npush    r14                                                            ; +0xc, 0x140345bfc\npush    r15                                                            ; +0xe, 0x140345bfe\nlea     rbp, [rsp-120h]                                                ; +0x10, 0x140345c00\nsub     rsp, 220h                                                      ; +0x18, 0x140345c08\nmov     rax, cs:__security_cookie                                      ; +0x1f, 0x140345c0f\nxor     rax, rsp                                                       ; +0x26, 0x140345c16\nmov     [rbp+150h+var_40], rax                                         ; +0x29, 0x140345c19\nmov     [rbp+150h+var_1D0], r9d                                        ; +0x30, 0x140345c20\nmov     rbx, r8                                                        ; +0x34, 0x140345c24\nmov     [rbp+150h+var_1C0], rbx                                        ; +0x37, 0x140345c27\nmov     [rbp+150h+var_1C8], rdx                                        ; +0x3b, 0x140345c2b\nmov     [rbp+150h+var_1CC], ecx                                        ; +0x3f, 0x140345c2f\nmov     [rbp+150h+var_78], rdx                                         ; +0x42, 0x140345c32\nmov     [rbp+150h+var_70], rbx                                         ; +0x49, 0x140345c39\nmov     rdi, [rbp+150h+arg_28]                                         ; +0x50, 0x140345c40\nmov     [rbp+150h+var_1B8], rdi                                        ; +0x57, 0x140345c47\nmov     [rbp+150h+var_68], rdi                                         ; +0x5b, 0x140345c4b\nmov     rsi, [rbp+150h+arg_30]                                         ; +0x62, 0x140345c52\nmov     [rbp+150h+var_1B0], rsi                                        ; +0x69, 0x140345c59\nmov     [rbp+150h+var_60], rsi                                         ; +0x6d, 0x140345c5d\nmov     r14, [rbp+150h+arg_38]                                         ; +0x74, 0x140345c64\nmov     [rbp+150h+var_1A8], r14                                        ; +0x7b, 0x140345c6b\nmov     [rbp+150h+var_58], r14                                         ; +0x7f, 0x140345c6f\nmov     r15, [rbp+150h+arg_40]                                         ; +0x86, 0x140345c76\nmov     [rbp+150h+var_1A0], r15                                        ; +0x8d, 0x140345c7d\nmov     [rbp+150h+var_50], r15                                         ; +0x91, 0x140345c81\nmov     r12, [rbp+150h+arg_50]                                         ; +0x98, 0x140345c88\nmov     [rbp+150h+var_198], r12                                        ; +0x9f, 0x140345c8f\nmov     [rbp+150h+var_48], r12                                         ; +0xa3, 0x140345c93\nmov     ecx, 308h; Size                                                ; +0xaa, 0x140345c9a\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xaf, 0x140345c9f\nmov     [rbp+150h+var_190], rax                                        ; +0xb4, 0x140345ca4\nmov     rcx, rax                                                       ; +0xb8, 0x140345ca8\ncall    sub_14033B4D0                                                  ; +0xbb, 0x140345cab\nmov     r13, rax                                                       ; +0xc0, 0x140345cb0\ntest    rax, rax                                                       ; +0xc3, 0x140345cb3\njz      loc_140345DE3                                                  ; +0xc6, 0x140345cb6\nlea     rax, [rbp+150h+var_158]                                        ; +0xcc, 0x140345cbc\nmov     [rbp+150h+var_190], rax                                        ; +0xd0, 0x140345cc0\nlea     rax, [rbp+150h+var_138]                                        ; +0xd4, 0x140345cc4\nmov     [rbp+150h+var_188], rax                                        ; +0xd8, 0x140345cc8\nlea     rax, [rbp+150h+var_118]                                        ; +0xdc, 0x140345ccc\nmov     [rbp+150h+var_180], rax                                        ; +0xe0, 0x140345cd0\nlea     rax, [rbp+150h+var_F8]                                         ; +0xe4, 0x140345cd4\nmov     [rbp+150h+var_178], rax                                        ; +0xe8, 0x140345cd8\nlea     rax, [rbp+150h+var_D8]                                         ; +0xec, 0x140345cdc\nmov     [rbp+150h+var_170], rax                                        ; +0xf0, 0x140345ce0\nlea     rax, [rbp+150h+var_B8]                                         ; +0xf4, 0x140345ce4\nmov     [rbp+150h+var_168], rax                                        ; +0xfb, 0x140345ceb\nmov     rdx, r12                                                       ; +0xff, 0x140345cef\nlea     rcx, [rbp+150h+var_158]                                        ; +0x102, 0x140345cf2\ncall    sub_14003BDB0                                                  ; +0x106, 0x140345cf6\nmov     r12, rax                                                       ; +0x10b, 0x140345cfb\nmov     rdx, r15                                                       ; +0x10e, 0x140345cfe\nlea     rcx, [rbp+150h+var_138]                                        ; +0x111, 0x140345d01\ncall    sub_14003BDB0                                                  ; +0x115, 0x140345d05\nmov     r15, rax                                                       ; +0x11a, 0x140345d0a\nmov     rdx, r14                                                       ; +0x11d, 0x140345d0d\nlea     rcx, [rbp+150h+var_118]                                        ; +0x120, 0x140345d10\ncall    sub_14003BDB0                                                  ; +0x124, 0x140345d14\nmov     r14, rax                                                       ; +0x129, 0x140345d19\nmov     rdx, rsi                                                       ; +0x12c, 0x140345d1c\nlea     rcx, [rbp+150h+var_F8]                                         ; +0x12f, 0x140345d1f\ncall    sub_14003BDB0                                                  ; +0x133, 0x140345d23\nmov     rsi, rax                                                       ; +0x138, 0x140345d28\nmov     rdx, rdi                                                       ; +0x13b, 0x140345d2b\nlea     rcx, [rbp+150h+var_D8]                                         ; +0x13e, 0x140345d2e\ncall    sub_14003BDB0                                                  ; +0x142, 0x140345d32\nmov     rdi, rax                                                       ; +0x147, 0x140345d37\nmov     rdx, rbx                                                       ; +0x14a, 0x140345d3a\nlea     rcx, [rbp+150h+var_B8]                                         ; +0x14d, 0x140345d3d\ncall    sub_14003BDB0                                                  ; +0x154, 0x140345d44\nmov     rbx, rax                                                       ; +0x159, 0x140345d49\nmov     rdx, [rbp+150h+var_1C8]                                        ; +0x15c, 0x140345d4c\nlea     rcx, [rbp+150h+var_98]                                         ; +0x160, 0x140345d50\ncall    sub_14003BDB0                                                  ; +0x167, 0x140345d57\nnop                                                                    ; +0x16c, 0x140345d5c\nmov     ecx, [rbp+150h+arg_68]                                         ; +0x16d, 0x140345d5d\nmov     [rsp+250h+var_1E0], ecx                                        ; +0x173, 0x140345d63\nmov     ecx, [rbp+150h+arg_60]                                         ; +0x177, 0x140345d67\nmov     [rsp+250h+var_1E8], ecx                                        ; +0x17d, 0x140345d6d\nmovzx   ecx, [rbp+150h+arg_58]                                         ; +0x181, 0x140345d71\nmov     [rsp+250h+var_1F0], cl                                         ; +0x188, 0x140345d78\nmov     [rsp+250h+var_1F8], r12                                        ; +0x18c, 0x140345d7c\nmov     ecx, [rbp+150h+arg_48]                                         ; +0x191, 0x140345d81\nmov     [rsp+250h+var_200], ecx                                        ; +0x197, 0x140345d87\nmov     [rsp+250h+var_208], r15                                        ; +0x19b, 0x140345d8b\nmov     [rsp+250h+var_210], r14                                        ; +0x1a0, 0x140345d90\nmov     [rsp+250h+var_218], rsi                                        ; +0x1a5, 0x140345d95\nmov     [rsp+250h+var_220], rdi                                        ; +0x1aa, 0x140345d9a\nmovss   xmm0, [rbp+150h+arg_20]                                        ; +0x1af, 0x140345d9f\nmovss   [rsp+250h+var_228], xmm0                                       ; +0x1b7, 0x140345da7\nmov     ecx, [rbp+150h+var_1D0]                                        ; +0x1bd, 0x140345dad\nmov     [rsp+250h+var_230], ecx                                        ; +0x1c0, 0x140345db0\nmov     r9, rbx                                                        ; +0x1c4, 0x140345db4\nmov     r8, rax                                                        ; +0x1c7, 0x140345db7\nmov     edx, [rbp+150h+var_1CC]                                        ; +0x1ca, 0x140345dba\nmov     rcx, r13                                                       ; +0x1cd, 0x140345dbd\ncall    SongInfoObject__init                                           ; +0x1d0, 0x140345dc0\nmov     rcx, r13                                                       ; +0x1d5, 0x140345dc5\ntest    al, al                                                         ; +0x1d8, 0x140345dc8\njz      short loc_140345DD4                                            ; +0x1da, 0x140345dca\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x1dc, 0x140345dcc\njmp     short loc_140345DE3                                            ; +0x1e2, 0x140345dd2\nmov     rax, [r13+0]                                                   ; +0x1e4, 0x140345dd4\nmov     edx, 1                                                         ; +0x1e8, 0x140345dd8\ncall    qword ptr [rax+8]                                              ; +0x1ed, 0x140345ddd\nxor     r13d, r13d                                                     ; +0x1f0, 0x140345de0\nmov     rcx, [rbp+150h+var_1C8]                                        ; +0x1f3, 0x140345de3\ncall    sub_14003A830                                                  ; +0x1f7, 0x140345de7\nnop                                                                    ; +0x1fc, 0x140345dec\nmov     rcx, [rbp+150h+var_1C0]                                        ; +0x1fd, 0x140345ded\ncall    sub_14003A830                                                  ; +0x201, 0x140345df1\nnop                                                                    ; +0x206, 0x140345df6\nmov     rcx, [rbp+150h+var_1B8]                                        ; +0x207, 0x140345df7\ncall    sub_14003A830                                                  ; +0x20b, 0x140345dfb\nnop                                                                    ; +0x210, 0x140345e00\nmov     rcx, [rbp+150h+var_1B0]                                        ; +0x211, 0x140345e01\ncall    sub_14003A830                                                  ; +0x215, 0x140345e05\nnop                                                                    ; +0x21a, 0x140345e0a\nmov     rcx, [rbp+150h+var_1A8]                                        ; +0x21b, 0x140345e0b\ncall    sub_14003A830                                                  ; +0x21f, 0x140345e0f\nnop                                                                    ; +0x224, 0x140345e14\nmov     rcx, [rbp+150h+var_1A0]                                        ; +0x225, 0x140345e15\ncall    sub_14003A830                                                  ; +0x229, 0x140345e19\nnop                                                                    ; +0x22e, 0x140345e1e\nmov     rcx, [rbp+150h+var_198]                                        ; +0x22f, 0x140345e1f\ncall    sub_14003A830                                                  ; +0x233, 0x140345e23\nmov     rax, r13                                                       ; +0x238, 0x140345e28\nmov     rcx, [rbp+150h+var_40]                                         ; +0x23b, 0x140345e2b\nxor     rcx, rsp; StackCookie                                          ; +0x242, 0x140345e32\ncall    __security_check_cookie                                        ; +0x245, 0x140345e35\nmov     rbx, [rsp+250h+arg_18]                                         ; +0x24a, 0x140345e3a\nadd     rsp, 220h                                                      ; +0x252, 0x140345e42\npop     r15                                                            ; +0x259, 0x140345e49\npop     r14                                                            ; +0x25b, 0x140345e4b\npop     r13                                                            ; +0x25d, 0x140345e4d\npop     r12                                                            ; +0x25f, 0x140345e4f\npop     rdi                                                            ; +0x261, 0x140345e51\npop     rsi                                                            ; +0x262, 0x140345e52\npop     rbp                                                            ; +0x263, 0x140345e53\nretn                                                                   ; +0x264, 0x140345e54", "xrefs": ["LevelTools::getSongObject @ 0x14032d371", "MusicDownloadManager::parseMusicLibrary @ 0x140341c2c", "SongInfoObject::create_1 @ 0x140344893", "SongInfoObject::create_2 @ 0x14034587a", "SongInfoObject::createWithCoder @ 0x1403464c1", "<???> @ 0x1406d58ac"], "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"}