{"type": "func", "start": 4302270864, "end": 4302271337, "name": "CustomSongWidget::create", "pseudocode": "// \n// CustomSongWidget::create from 0x1006f7190 to 0x1006f7369 (473 bytes)\n// \n// 6 xrefs:\n// > CustomSongLayer::init @ 0x1001f8ddc\n// > SongSelectNode::init @ 0x1001fc7c4\n// > CustomSongCell::loadFromObject @ 0x100229994\n// > CustomMusicCell::loadFromObject @ 0x100229bd2\n// > LevelInfoLayer::init @ 0x1002abbde\n// > AudioAssetsPopup::init @ 0x1008b39ad\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:54 +0000\n// \n\nchar *__fastcall CustomSongWidget::create(\n        int a1,\n        int a2,\n        unsigned __int8 a3,\n        unsigned __int8 a4,\n        unsigned __int8 a5,\n        char a6,\n        char a7,\n        char a8,\n        int a9,\n        char a10,\n        char a11)\n{\n  char *v14; // rbx\n\n  v14 = (char *)operator new(0x290u);\n  cocos2d::CCNode::CCNode((__int64)v14);\n  *(_QWORD *)v14 = off_100B95A38;\n  *((_QWORD *)v14 + 40) = off_100B95E20;\n  *((_QWORD *)v14 + 41) = &off_100B95E90;\n  *((_QWORD *)v14 + 42) = 0;\n  *((_QWORD *)v14 + 48) = 0;\n  *((_QWORD *)v14 + 50) = 0;\n  *((_QWORD *)v14 + 52) = 0;\n  *((_QWORD *)v14 + 54) = 0;\n  *((_QWORD *)v14 + 65) = 0;\n  *((_WORD *)v14 + 264) = 0;\n  *((_QWORD *)v14 + 67) = 0;\n  *((_WORD *)v14 + 272) = 0;\n  *((_OWORD *)v14 + 35) = 0;\n  *((_OWORD *)v14 + 22) = 0;\n  *((_QWORD *)v14 + 46) = 0;\n  *((_OWORD *)v14 + 28) = 0;\n  *((_OWORD *)v14 + 29) = 0;\n  *((_OWORD *)v14 + 30) = 0;\n  *(_QWORD *)(v14 + 495) = 0;\n  v14[512] = 0;\n  *((_QWORD *)v14 + 63) = 0;\n  *((_QWORD *)v14 + 69) = v14 + 560;\n  *(_OWORD *)(v14 + 584) = 0;\n  *((_QWORD *)v14 + 72) = v14 + 584;\n  *((_OWORD *)v14 + 40) = 0;\n  *(_OWORD *)(v14 + 600) = 0;\n  *(_OWORD *)(v14 + 616) = 0;\n  *((_QWORD *)v14 + 79) = v14 + 640;\n  if ( (unsigned __int8)CustomSongWidget::init((_DWORD)v14, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11) )\n  {\n    cocos2d::CCObject::autorelease((__int64)v14);\n  }\n  else\n  {\n    (*(void (__fastcall **)(char *))(*(_QWORD *)v14 + 16LL))(v14);\n    return nullptr;\n  }\n  return v14;\n}", "assembly": "; \n; CustomSongWidget::create from 0x1006f7190 to 0x1006f7369 (473 bytes)\n; \n; 6 xrefs:\n; > CustomSongLayer::init @ 0x1001f8ddc\n; > SongSelectNode::init @ 0x1001fc7c4\n; > CustomSongCell::loadFromObject @ 0x100229994\n; > CustomMusicCell::loadFromObject @ 0x100229bd2\n; > LevelInfoLayer::init @ 0x1002abbde\n; > AudioAssetsPopup::init @ 0x1008b39ad\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:54 +0000\n; \npush    rbp                                                            ; +0x0, 0x1006f7190\nmov     rbp, rsp                                                       ; +0x1, 0x1006f7191\npush    r15                                                            ; +0x4, 0x1006f7194\npush    r14                                                            ; +0x6, 0x1006f7196\npush    r13                                                            ; +0x8, 0x1006f7198\npush    r12                                                            ; +0xa, 0x1006f719a\npush    rbx                                                            ; +0xc, 0x1006f719c\nsub     rsp, 48h                                                       ; +0xd, 0x1006f719d\nmov     r14d, r9d                                                      ; +0x11, 0x1006f71a1\nmov     [rbp+var_2C], r8d                                              ; +0x14, 0x1006f71a4\nmov     r13d, ecx                                                      ; +0x18, 0x1006f71a8\nmov     r15d, edx                                                      ; +0x1b, 0x1006f71ab\nmov     [rbp+var_38], rsi                                              ; +0x1e, 0x1006f71ae\nmov     r12, rdi                                                       ; +0x22, 0x1006f71b2\nmov     edi, 290h; __sz                                                ; +0x25, 0x1006f71b5\ncall    __Znwm; operator new(ulong)                                    ; +0x2a, 0x1006f71ba\nmov     rbx, rax                                                       ; +0x2f, 0x1006f71bf\nmov     rdi, rax                                                       ; +0x32, 0x1006f71c2\ncall    cocos2d__CCNode__CCNode                                        ; +0x35, 0x1006f71c5\nmovzx   edi, [rbp+arg_20]                                              ; +0x3a, 0x1006f71ca\nmovzx   esi, [rbp+arg_18]                                              ; +0x3e, 0x1006f71ce\nmov     edx, [rbp+arg_10]                                              ; +0x42, 0x1006f71d2\nmovzx   ecx, [rbp+arg_8]                                               ; +0x45, 0x1006f71d5\nmovzx   eax, [rbp+arg_0]                                               ; +0x49, 0x1006f71d9\nlea     r8, off_100B95A38                                              ; +0x4d, 0x1006f71dd\nmov     [rbx], r8                                                      ; +0x54, 0x1006f71e4\nlea     r8, off_100B95E20                                              ; +0x57, 0x1006f71e7\nmov     [rbx+140h], r8                                                 ; +0x5e, 0x1006f71ee\nlea     r8, off_100B95E90                                              ; +0x65, 0x1006f71f5\nmov     [rbx+148h], r8                                                 ; +0x6c, 0x1006f71fc\nmov     qword ptr [rbx+150h], 0                                        ; +0x73, 0x1006f7203\nmov     qword ptr [rbx+180h], 0                                        ; +0x7e, 0x1006f720e\nmov     qword ptr [rbx+190h], 0                                        ; +0x89, 0x1006f7219\nmov     qword ptr [rbx+1A0h], 0                                        ; +0x94, 0x1006f7224\nmov     qword ptr [rbx+1B0h], 0                                        ; +0x9f, 0x1006f722f\nmov     qword ptr [rbx+208h], 0                                        ; +0xaa, 0x1006f723a\nmov     word ptr [rbx+210h], 0                                         ; +0xb5, 0x1006f7245\nmov     qword ptr [rbx+218h], 0                                        ; +0xbe, 0x1006f724e\nmov     word ptr [rbx+220h], 0                                         ; +0xc9, 0x1006f7259\nlea     r8, [rbx+230h]                                                 ; +0xd2, 0x1006f7262\nxorps   xmm0, xmm0                                                     ; +0xd9, 0x1006f7269\nmovups  xmmword ptr [rbx+230h], xmm0                                   ; +0xdc, 0x1006f726c\nmovups  xmmword ptr [rbx+160h], xmm0                                   ; +0xe3, 0x1006f7273\nmov     qword ptr [rbx+170h], 0                                        ; +0xea, 0x1006f727a\nmovups  xmmword ptr [rbx+1C0h], xmm0                                   ; +0xf5, 0x1006f7285\nmovups  xmmword ptr [rbx+1D0h], xmm0                                   ; +0xfc, 0x1006f728c\nmovups  xmmword ptr [rbx+1E0h], xmm0                                   ; +0x103, 0x1006f7293\nmov     qword ptr [rbx+1EFh], 0                                        ; +0x10a, 0x1006f729a\nmov     byte ptr [rbx+200h], 0                                         ; +0x115, 0x1006f72a5\nmov     qword ptr [rbx+1F8h], 0                                        ; +0x11c, 0x1006f72ac\nmov     [rbx+228h], r8                                                 ; +0x127, 0x1006f72b7\nlea     r8, [rbx+248h]                                                 ; +0x12e, 0x1006f72be\nmovups  xmmword ptr [rbx+248h], xmm0                                   ; +0x135, 0x1006f72c5\nmov     [rbx+240h], r8                                                 ; +0x13c, 0x1006f72cc\nmov     r8, rbx                                                        ; +0x143, 0x1006f72d3\nadd     r8, 280h                                                       ; +0x146, 0x1006f72d6\nmovups  xmmword ptr [rbx+280h], xmm0                                   ; +0x14d, 0x1006f72dd\nmovups  xmmword ptr [rbx+258h], xmm0                                   ; +0x154, 0x1006f72e4\nmovups  xmmword ptr [rbx+268h], xmm0                                   ; +0x15b, 0x1006f72eb\nmov     [rbx+278h], r8                                                 ; +0x162, 0x1006f72f2\nmovzx   edi, dil                                                       ; +0x169, 0x1006f72f9\nmov     [rsp+70h+var_48], edi                                          ; +0x16d, 0x1006f72fd\nmovzx   esi, sil                                                       ; +0x171, 0x1006f7301\nmov     [rsp+70h+var_50], esi                                          ; +0x175, 0x1006f7305\nmov     [rsp+70h+var_58], edx                                          ; +0x179, 0x1006f7309\nmovzx   ecx, cl                                                        ; +0x17d, 0x1006f730d\nmov     [rsp+70h+var_60], ecx                                          ; +0x180, 0x1006f7310\nmovzx   eax, al                                                        ; +0x184, 0x1006f7314\nmov     [rsp+70h+var_68], eax                                          ; +0x187, 0x1006f7317\nmovzx   eax, r14b                                                      ; +0x18b, 0x1006f731b\nmov     [rsp+70h+var_70], eax                                          ; +0x18f, 0x1006f731f\nmovzx   ecx, r15b                                                      ; +0x192, 0x1006f7322\nmovzx   r8d, r13b                                                      ; +0x196, 0x1006f7326\nmovzx   r9d, byte ptr [rbp+var_2C]                                     ; +0x19a, 0x1006f732a\nmov     rdi, rbx                                                       ; +0x19f, 0x1006f732f\nmov     rsi, r12                                                       ; +0x1a2, 0x1006f7332\nmov     rdx, [rbp+var_38]                                              ; +0x1a5, 0x1006f7335\ncall    CustomSongWidget__init                                         ; +0x1a9, 0x1006f7339\ntest    al, al                                                         ; +0x1ae, 0x1006f733e\njz      short loc_1006F734C                                            ; +0x1b0, 0x1006f7340\nmov     rdi, rbx                                                       ; +0x1b2, 0x1006f7342\ncall    cocos2d__CCObject__autorelease                                 ; +0x1b5, 0x1006f7345\njmp     short loc_1006F7357                                            ; +0x1ba, 0x1006f734a\nmov     rax, [rbx]                                                     ; +0x1bc, 0x1006f734c\nmov     rdi, rbx                                                       ; +0x1bf, 0x1006f734f\ncall    qword ptr [rax+10h]                                            ; +0x1c2, 0x1006f7352\nxor     ebx, ebx                                                       ; +0x1c5, 0x1006f7355\nmov     rax, rbx                                                       ; +0x1c7, 0x1006f7357\nadd     rsp, 48h                                                       ; +0x1ca, 0x1006f735a\npop     rbx                                                            ; +0x1ce, 0x1006f735e\npop     r12                                                            ; +0x1cf, 0x1006f735f\npop     r13                                                            ; +0x1d1, 0x1006f7361\npop     r14                                                            ; +0x1d3, 0x1006f7363\npop     r15                                                            ; +0x1d5, 0x1006f7365\npop     rbp                                                            ; +0x1d7, 0x1006f7367\nretn                                                                   ; +0x1d8, 0x1006f7368", "xrefs": ["CustomSongLayer::init @ 0x1001f8ddc", "SongSelectNode::init @ 0x1001fc7c4", "CustomSongCell::loadFromObject @ 0x100229994", "CustomMusicCell::loadFromObject @ 0x100229bd2", "LevelInfoLayer::init @ 0x1002abbde", "AudioAssetsPopup::init @ 0x1008b39ad"], "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"}