{"type": "func", "start": 4299039312, "end": 4299039460, "name": "LevelAreaLayer::create", "pseudocode": "// \n// LevelAreaLayer::create from 0x1003e2250 to 0x1003e22e4 (148 bytes)\n// \n// 1 xrefs:\n// > LevelAreaLayer::scene @ 0x1003e2228\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:23 +0000\n// \n\n_QWORD *LevelAreaLayer::create()\n{\n  _QWORD *v0; // x19\n\n  v0 = operator new(0x1B8u);\n  cocos2d::CCLayer::CCLayer((__int64)v0);\n  *v0 = off_1009496C0;\n  v0[40] = off_100949B58;\n  v0[41] = &off_100949BC8;\n  v0[42] = off_100949BE0;\n  v0[43] = &off_100949C00;\n  v0[44] = off_100949C28;\n  v0[52] = 0;\n  v0[53] = 0;\n  v0[51] = &off_100949C58;\n  *((_WORD *)v0 + 216) = 0;\n  if ( (unsigned int)LevelAreaLayer::init(v0) )\n  {\n    cocos2d::CCObject::autorelease((__int64)v0);\n  }\n  else\n  {\n    (*(void (__fastcall **)(_QWORD *))(*v0 + 16LL))(v0);\n    return nullptr;\n  }\n  return v0;\n}", "assembly": "; \n; LevelAreaLayer::create from 0x1003e2250 to 0x1003e22e4 (148 bytes)\n; \n; 1 xrefs:\n; > LevelAreaLayer::scene @ 0x1003e2228\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:23 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1003e2250\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1003e2254\nADD             X29, SP, #0x10                                         ; +0x8, 0x1003e2258\nMOV             W0, #0x1B8; __sz                                       ; +0xc, 0x1003e225c\nBL              __Znwm; operator new(ulong)                            ; +0x10, 0x1003e2260\nMOV             X19, X0                                                ; +0x14, 0x1003e2264\nBL              cocos2d__CCLayer__CCLayer                              ; +0x18, 0x1003e2268\nADRL            X8, off_1009496C0                                      ; +0x1c, 0x1003e226c\nSTR             X8, [X19]                                              ; +0x24, 0x1003e2274\nADD             X9, X8, #(off_100949B58 - 0x1009496C0)                 ; +0x28, 0x1003e2278\nADD             X10, X8, #(off_100949BC8 - 0x1009496C0)                ; +0x2c, 0x1003e227c\nSTP             X9, X10, [X19,#0x140]                                  ; +0x30, 0x1003e2280\nADD             X9, X8, #(off_100949BE0 - 0x1009496C0)                 ; +0x34, 0x1003e2284\nADD             X10, X8, #(off_100949C00 - 0x1009496C0)                ; +0x38, 0x1003e2288\nSTP             X9, X10, [X19,#0x150]                                  ; +0x3c, 0x1003e228c\nADD             X9, X8, #(off_100949C28 - 0x1009496C0)                 ; +0x40, 0x1003e2290\nSTR             X9, [X19,#0x160]                                       ; +0x44, 0x1003e2294\nADD             X8, X8, #(off_100949C58 - 0x1009496C0)                 ; +0x48, 0x1003e2298\nSTP             XZR, XZR, [X19,#0x1A0]                                 ; +0x4c, 0x1003e229c\nSTR             X8, [X19,#0x198]                                       ; +0x50, 0x1003e22a0\nSTRH            WZR, [X19,#0x1B0]                                      ; +0x54, 0x1003e22a4\nMOV             X0, X19                                                ; +0x58, 0x1003e22a8\nBL              LevelAreaLayer__init                                   ; +0x5c, 0x1003e22ac\nCBZ             W0, loc_1003E22C0                                      ; +0x60, 0x1003e22b0\nMOV             X0, X19                                                ; +0x64, 0x1003e22b4\nBL              cocos2d__CCObject__autorelease                         ; +0x68, 0x1003e22b8\nB               loc_1003E22D4                                          ; +0x6c, 0x1003e22bc\nLDR             X8, [X19]                                              ; +0x70, 0x1003e22c0\nLDR             X8, [X8,#0x10]                                         ; +0x74, 0x1003e22c4\nMOV             X0, X19                                                ; +0x78, 0x1003e22c8\nBLR             X8                                                     ; +0x7c, 0x1003e22cc\nMOV             X19, #0                                                ; +0x80, 0x1003e22d0\nMOV             X0, X19                                                ; +0x84, 0x1003e22d4\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x88, 0x1003e22d8\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x8c, 0x1003e22dc\nRET                                                                    ; +0x90, 0x1003e22e0", "xrefs": ["LevelAreaLayer::scene @ 0x1003e2228"], "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"}