{"type": "func", "start": 4299122240, "end": 4299122352, "name": "LevelEditorLayer::create", "pseudocode": "// \n// LevelEditorLayer::create from 0x1003f6640 to 0x1003f66b0 (112 bytes)\n// \n// 1 xrefs:\n// > LevelEditorLayer::scene @ 0x1003f660c\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:04:33 +0000\n// \n\nvoid *__fastcall LevelEditorLayer::create(__int64 a1, __int64 a2)\n{\n  void *v4; // x19\n\n  v4 = operator new(0x3B08u);\n  LevelEditorLayer::LevelEditorLayer();\n  if ( (unsigned int)LevelEditorLayer::init(v4, a1, a2) )\n  {\n    cocos2d::CCObject::autorelease((__int64)v4);\n  }\n  else\n  {\n    (*(void (__fastcall **)(void *))(*(_QWORD *)v4 + 16LL))(v4);\n    return nullptr;\n  }\n  return v4;\n}", "assembly": "; \n; LevelEditorLayer::create from 0x1003f6640 to 0x1003f66b0 (112 bytes)\n; \n; 1 xrefs:\n; > LevelEditorLayer::scene @ 0x1003f660c\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:04:33 +0000\n; \nSTP             X22, X21, [SP,#-0x10+var_20]!                          ; +0x0, 0x1003f6640\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x1003f6644\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x1003f6648\nADD             X29, SP, #0x20                                         ; +0xc, 0x1003f664c\nMOV             X20, X1                                                ; +0x10, 0x1003f6650\nMOV             X21, X0                                                ; +0x14, 0x1003f6654\nMOV             W0, #0x3B08; __sz                                      ; +0x18, 0x1003f6658\nBL              __Znwm; operator new(ulong)                            ; +0x1c, 0x1003f665c\nMOV             X19, X0                                                ; +0x20, 0x1003f6660\nBL              LevelEditorLayer__LevelEditorLayer                     ; +0x24, 0x1003f6664\nMOV             X0, X19                                                ; +0x28, 0x1003f6668\nMOV             X1, X21                                                ; +0x2c, 0x1003f666c\nMOV             X2, X20                                                ; +0x30, 0x1003f6670\nBL              LevelEditorLayer__init                                 ; +0x34, 0x1003f6674\nCBZ             W0, loc_1003F6688                                      ; +0x38, 0x1003f6678\nMOV             X0, X19                                                ; +0x3c, 0x1003f667c\nBL              cocos2d__CCObject__autorelease                         ; +0x40, 0x1003f6680\nB               loc_1003F669C                                          ; +0x44, 0x1003f6684\nLDR             X8, [X19]                                              ; +0x48, 0x1003f6688\nLDR             X8, [X8,#0x10]                                         ; +0x4c, 0x1003f668c\nMOV             X0, X19                                                ; +0x50, 0x1003f6690\nBLR             X8                                                     ; +0x54, 0x1003f6694\nMOV             X19, #0                                                ; +0x58, 0x1003f6698\nMOV             X0, X19                                                ; +0x5c, 0x1003f669c\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x60, 0x1003f66a0\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x64, 0x1003f66a4\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x68, 0x1003f66a8\nRET                                                                    ; +0x6c, 0x1003f66ac", "xrefs": ["LevelEditorLayer::scene @ 0x1003f660c"], "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"}