{"type": "func", "start": 4296811752, "end": 4296811948, "name": "CustomSongLayer::create", "pseudocode": "// \n// CustomSongLayer::create from 0x1001c24e8 to 0x1001c25ac (196 bytes)\n// \n// 2 xrefs:\n// > sub_1001C61A0 @ 0x1001c61c8\n// > SongSelectNode::FLAlert_Clicked @ 0x1001c6430\n// \n// This function is hookable on this platform (idp: arm, 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:00:15 +0000\n// \n\nchar *__fastcall CustomSongLayer::create(__int64 a1)\n{\n  char *v2; // x19\n\n  v2 = (char *)operator new(0x2C8u);\n  FLAlertLayer::FLAlertLayer((__int64)v2);\n  *(_QWORD *)v2 = &off_1008E9A48;\n  *((_QWORD *)v2 + 40) = off_1008E9FC0;\n  *((_QWORD *)v2 + 41) = &off_1008EA030;\n  *((_QWORD *)v2 + 42) = off_1008EA048;\n  *((_QWORD *)v2 + 43) = off_1008EA068;\n  *((_QWORD *)v2 + 44) = off_1008EA090;\n  *((_QWORD *)v2 + 51) = off_1008EA0C0;\n  *((_QWORD *)v2 + 54) = off_1008EA140;\n  *((_QWORD *)v2 + 68) = off_1008EA160;\n  *((_QWORD *)v2 + 83) = &off_1008EA1A8;\n  *((_QWORD *)v2 + 84) = &off_1008EA1C0;\n  *((_QWORD *)v2 + 88) = 0;\n  *(_OWORD *)(v2 + 680) = 0u;\n  if ( (unsigned int)CustomSongLayer::init(v2, a1) )\n  {\n    cocos2d::CCObject::autorelease((__int64)v2);\n  }\n  else\n  {\n    (*(void (__fastcall **)(char *))(*(_QWORD *)v2 + 16LL))(v2);\n    return nullptr;\n  }\n  return v2;\n}", "assembly": "; \n; CustomSongLayer::create from 0x1001c24e8 to 0x1001c25ac (196 bytes)\n; \n; 2 xrefs:\n; > sub_1001C61A0 @ 0x1001c61c8\n; > SongSelectNode::FLAlert_Clicked @ 0x1001c6430\n; \n; This function is hookable on this platform (idp: arm, 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:00:15 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1001c24e8\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1001c24ec\nADD             X29, SP, #0x10                                         ; +0x8, 0x1001c24f0\nMOV             X20, X0                                                ; +0xc, 0x1001c24f4\nMOV             W0, #0x2C8; __sz                                       ; +0x10, 0x1001c24f8\nBL              __Znwm; operator new(ulong)                            ; +0x14, 0x1001c24fc\nMOV             X19, X0                                                ; +0x18, 0x1001c2500\nBL              FLAlertLayer__FLAlertLayer                             ; +0x1c, 0x1001c2504\nADRL            X8, off_1008E9A48                                      ; +0x20, 0x1001c2508\nSTR             X8, [X19]                                              ; +0x28, 0x1001c2510\nADD             X9, X8, #(off_1008E9FC0 - 0x1008E9A48)                 ; +0x2c, 0x1001c2514\nADD             X10, X8, #(off_1008EA030 - 0x1008E9A48)                ; +0x30, 0x1001c2518\nSTP             X9, X10, [X19,#0x140]                                  ; +0x34, 0x1001c251c\nADD             X9, X8, #(off_1008EA048 - 0x1008E9A48)                 ; +0x38, 0x1001c2520\nADD             X10, X8, #(off_1008EA068 - 0x1008E9A48)                ; +0x3c, 0x1001c2524\nSTP             X9, X10, [X19,#0x150]                                  ; +0x40, 0x1001c2528\nADD             X9, X8, #(off_1008EA090 - 0x1008E9A48)                 ; +0x44, 0x1001c252c\nSTR             X9, [X19,#0x160]                                       ; +0x48, 0x1001c2530\nADD             X9, X8, #(off_1008EA0C0 - 0x1008E9A48)                 ; +0x4c, 0x1001c2534\nSTR             X9, [X19,#0x198]                                       ; +0x50, 0x1001c2538\nADD             X9, X8, #(off_1008EA140 - 0x1008E9A48)                 ; +0x54, 0x1001c253c\nSTR             X9, [X19,#0x1B0]                                       ; +0x58, 0x1001c2540\nADD             X9, X8, #(off_1008EA160 - 0x1008E9A48)                 ; +0x5c, 0x1001c2544\nSTR             X9, [X19,#0x220]                                       ; +0x60, 0x1001c2548\nADD             X9, X8, #(off_1008EA1A8 - 0x1008E9A48)                 ; +0x64, 0x1001c254c\nSTR             X9, [X19,#0x298]                                       ; +0x68, 0x1001c2550\nADD             X8, X8, #(off_1008EA1C0 - 0x1008E9A48)                 ; +0x6c, 0x1001c2554\nSTR             X8, [X19,#0x2A0]                                       ; +0x70, 0x1001c2558\nADD             X8, X19, #0x2A8                                        ; +0x74, 0x1001c255c\nSTR             XZR, [X19,#0x2C0]                                      ; +0x78, 0x1001c2560\nMOVI            V0.16B, #0                                             ; +0x7c, 0x1001c2564\nSTR             Q0, [X8]                                               ; +0x80, 0x1001c2568\nMOV             X0, X19                                                ; +0x84, 0x1001c256c\nMOV             X1, X20                                                ; +0x88, 0x1001c2570\nBL              CustomSongLayer__init                                  ; +0x8c, 0x1001c2574\nCBZ             W0, loc_1001C2588                                      ; +0x90, 0x1001c2578\nMOV             X0, X19                                                ; +0x94, 0x1001c257c\nBL              cocos2d__CCObject__autorelease                         ; +0x98, 0x1001c2580\nB               loc_1001C259C                                          ; +0x9c, 0x1001c2584\nLDR             X8, [X19]                                              ; +0xa0, 0x1001c2588\nLDR             X8, [X8,#0x10]                                         ; +0xa4, 0x1001c258c\nMOV             X0, X19                                                ; +0xa8, 0x1001c2590\nBLR             X8                                                     ; +0xac, 0x1001c2594\nMOV             X19, #0                                                ; +0xb0, 0x1001c2598\nMOV             X0, X19                                                ; +0xb4, 0x1001c259c\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0xb8, 0x1001c25a0\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0xbc, 0x1001c25a4\nRET                                                                    ; +0xc0, 0x1001c25a8", "xrefs": ["sub_1001C61A0 @ 0x1001c61c8", "SongSelectNode::FLAlert_Clicked @ 0x1001c6430"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}