{"type": "func", "start": 4295475876, "end": 4295476080, "name": "CreateGuidelinesLayer::create", "pseudocode": "// \n// CreateGuidelinesLayer::create from 0x10007c2a4 to 0x10007c370 (204 bytes)\n// \n// 1 xrefs:\n// > CustomSongLayer::onCreateLines @ 0x10014471c\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\nCreateGuidelinesLayer *__fastcall CreateGuidelinesLayer::create(CustomSongDelegate *a1, AudioGuidelinesType a2)\n{\n  CreateGuidelinesLayer *v4; // x19\n\n  v4 = (CreateGuidelinesLayer *)operator new(0x2D8u);\n  FLAlertLayer::FLAlertLayer(v4);\n  v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (CreateGuidelinesLayer_vtbl *)off_10077A380;\n  v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_10077A8E0;\n  v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_10077A950;\n  v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)off_10077A968;\n  v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)off_10077A988;\n  v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_10077A9A8;\n  v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)off_10077A9D0;\n  v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)off_10077AA50;\n  v4->FLAlertLayerProtocol::__vftable = (FLAlertLayerProtocol_vtbl *)&off_10077AA70;\n  v4->m_delegate = nullptr;\n  v4->m_elapsed = 0.0;\n  *(_WORD *)&v4->m_recording = 0;\n  v4->m_guidelineString.m_data.m_long.capacitym1 = 0;\n  v4->m_guidelineString.m_data.m_long.longStorage = nullptr;\n  v4->m_guidelineString.m_data.m_long.size = 0;\n  if ( CreateGuidelinesLayer::init(v4, a1, a2) )\n  {\n    cocos2d::CCObject::autorelease(v4);\n  }\n  else\n  {\n    ((void (__fastcall *)(CreateGuidelinesLayer *))v4->~CreateGuidelinesLayer_0)(v4);\n    return nullptr;\n  }\n  return v4;\n}", "assembly": "; \n; CreateGuidelinesLayer::create from 0x10007c2a4 to 0x10007c370 (204 bytes)\n; \n; 1 xrefs:\n; > CustomSongLayer::onCreateLines @ 0x10014471c\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\nSTP             X22, X21, [SP,#-0x10+var_20]!                          ; +0x0, 0x10007c2a4\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x10007c2a8\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x10007c2ac\nADD             X29, SP, #0x20                                         ; +0xc, 0x10007c2b0\nMOV             X20, X1                                                ; +0x10, 0x10007c2b4\nMOV             X21, X0                                                ; +0x14, 0x10007c2b8\nMOV             W0, #0x2D8; __sz                                       ; +0x18, 0x10007c2bc\nBL              __Znwm; operator new(ulong)                            ; +0x1c, 0x10007c2c0\nMOV             X19, X0                                                ; +0x20, 0x10007c2c4\nBL              FLAlertLayer__FLAlertLayer                             ; +0x24, 0x10007c2c8\nADRL            X8, off_10077A380                                      ; +0x28, 0x10007c2cc\nSTR             X8, [X19]                                              ; +0x30, 0x10007c2d4\nADD             X9, X8, #(off_10077A8E0 - 0x10077A380)                 ; +0x34, 0x10007c2d8\nADD             X10, X8, #(off_10077A950 - 0x10077A380)                ; +0x38, 0x10007c2dc\nSTP             X9, X10, [X19,#0x140]                                  ; +0x3c, 0x10007c2e0\nADD             X9, X8, #(off_10077A968 - 0x10077A380)                 ; +0x40, 0x10007c2e4\nADD             X10, X8, #(off_10077A988 - 0x10077A380)                ; +0x44, 0x10007c2e8\nSTP             X9, X10, [X19,#0x150]                                  ; +0x48, 0x10007c2ec\nADD             X9, X8, #(off_10077A9A8 - 0x10077A380)                 ; +0x4c, 0x10007c2f0\nSTR             X9, [X19,#0x160]                                       ; +0x50, 0x10007c2f4\nADD             X9, X8, #(off_10077A9D0 - 0x10077A380)                 ; +0x54, 0x10007c2f8\nSTR             X9, [X19,#0x198]                                       ; +0x58, 0x10007c2fc\nADD             X9, X8, #(off_10077AA50 - 0x10077A380)                 ; +0x5c, 0x10007c300\nSTR             X9, [X19,#0x1B0]                                       ; +0x60, 0x10007c304\nADD             X8, X8, #(off_10077AA70 - 0x10077A380)                 ; +0x64, 0x10007c308\nSTR             X8, [X19,#0x278]                                       ; +0x68, 0x10007c30c\nSTR             XZR, [X19,#0x280]                                      ; +0x6c, 0x10007c310\nSTR             WZR, [X19,#0x2B0]                                      ; +0x70, 0x10007c314\nSTRH            WZR, [X19,#0x2B4]                                      ; +0x74, 0x10007c318\nSTR             XZR, [X19,#0x2C0]                                      ; +0x78, 0x10007c31c\nSTR             XZR, [X19,#0x2D0]                                      ; +0x7c, 0x10007c320\nSTR             XZR, [X19,#0x2C8]                                      ; +0x80, 0x10007c324\nMOV             X0, X19                                                ; +0x84, 0x10007c328\nMOV             X1, X21                                                ; +0x88, 0x10007c32c\nMOV             X2, X20                                                ; +0x8c, 0x10007c330\nBL              CreateGuidelinesLayer__init                            ; +0x90, 0x10007c334\nCBZ             W0, loc_10007C348                                      ; +0x94, 0x10007c338\nMOV             X0, X19                                                ; +0x98, 0x10007c33c\nBL              cocos2d__CCObject__autorelease                         ; +0x9c, 0x10007c340\nB               loc_10007C35C                                          ; +0xa0, 0x10007c344\nLDR             X8, [X19]                                              ; +0xa4, 0x10007c348\nLDR             X8, [X8,#0x10]                                         ; +0xa8, 0x10007c34c\nMOV             X0, X19                                                ; +0xac, 0x10007c350\nBLR             X8                                                     ; +0xb0, 0x10007c354\nMOV             X19, #0                                                ; +0xb4, 0x10007c358\nMOV             X0, X19                                                ; +0xb8, 0x10007c35c\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0xbc, 0x10007c360\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0xc0, 0x10007c364\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0xc4, 0x10007c368\nRET                                                                    ; +0xc8, 0x10007c36c", "xrefs": ["CustomSongLayer::onCreateLines @ 0x10014471c"], "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"}