{"type": "func", "start": 4164716, "end": 4164782, "name": "CreateGuidelinesLayer::create", "pseudocode": "// \n// CreateGuidelinesLayer::create from 0x3f8c6c to 0x3f8cae (66 bytes)\n// \n// 1 xrefs:\n// > CustomSongLayer::onCreateLines @ 0x57ae22\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:47:19 +0000\n// \n\nCreateGuidelinesLayer *__fastcall CreateGuidelinesLayer::create(int a1, int a2)\n{\n  CreateGuidelinesLayer *v4; // r4\n  int v5; // r3\n  CreateGuidelinesLayer *v6; // r0\n\n  v4 = (CreateGuidelinesLayer *)operator new(0x23Cu);\n  CreateGuidelinesLayer::CreateGuidelinesLayer(v4);\n  if ( CreateGuidelinesLayer::init((int)v4, a1, a2) )\n  {\n    cocos2d::CCObject::autorelease(v4);\n  }\n  else\n  {\n    v5 = *(_DWORD *)v4;\n    v6 = v4;\n    v4 = nullptr;\n    (*(void (__fastcall **)(CreateGuidelinesLayer *))(v5 + 8))(v6);\n  }\n  return v4;\n}", "assembly": "; \n; CreateGuidelinesLayer::create from 0x3f8c6c to 0x3f8cae (66 bytes)\n; \n; 1 xrefs:\n; > CustomSongLayer::onCreateLines @ 0x57ae22\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:47:19 +0000\n; \nPUSH            {R4-R6,LR}                                             ; +0x0, 0x3f8c6c\nMOV             R6, R0                                                 ; +0x2, 0x3f8c6e\nMOV.W           R0, #0x23C; unsigned int                               ; +0x4, 0x3f8c70\nMOV             R5, R1                                                 ; +0x8, 0x3f8c74\nBL              _Znwj; operator new(uint)                              ; +0xa, 0x3f8c76\nMOV             R4, R0                                                 ; +0xe, 0x3f8c7a\nBL              _ZN21CreateGuidelinesLayerC2Ev; CreateGuidelinesLayer::CreateGuidelinesLayer(void) ; +0x10, 0x3f8c7c\nMOV             R2, R5                                                 ; +0x14, 0x3f8c80\nMOV             R0, R4                                                 ; +0x16, 0x3f8c82\nMOV             R1, R6                                                 ; +0x18, 0x3f8c84\nBL              _ZN21CreateGuidelinesLayer4initEP18CustomSongDelegate19AudioGuidelinesType; CreateGuidelinesLayer::init(CustomSongDelegate *,AudioGuidelinesType) ; +0x1a, 0x3f8c86\nMOV             R5, R0                                                 ; +0x1e, 0x3f8c8a\nCBZ             R0, loc_3F8CA0                                         ; +0x20, 0x3f8c8c\nMOV             R0, R4; this                                           ; +0x22, 0x3f8c8e\nBL              _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x24, 0x3f8c90\nB               loc_3F8CAA                                             ; +0x28, 0x3f8c94\nMOV             R0, R4; void *                                         ; +0x2a, 0x3f8c96\nBL              _ZdlPv; operator delete(void *)                        ; +0x2c, 0x3f8c98\nBL              __cxa_end_cleanup                                      ; +0x30, 0x3f8c9c\nLDR             R3, [R4]                                               ; +0x34, 0x3f8ca0\nMOV             R0, R4                                                 ; +0x36, 0x3f8ca2\nMOV             R4, R5                                                 ; +0x38, 0x3f8ca4\nLDR             R3, [R3,#8]                                            ; +0x3a, 0x3f8ca6\nBLX             R3                                                     ; +0x3c, 0x3f8ca8\nMOV             R0, R4                                                 ; +0x3e, 0x3f8caa\nPOP             {R4-R6,PC}                                             ; +0x40, 0x3f8cac", "xrefs": ["CustomSongLayer::onCreateLines @ 0x57ae22"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}