{"type": "func", "start": 4295862588, "end": 4295862760, "name": "CreatorLayer::create", "pseudocode": "// \n// CreatorLayer::create from 0x1000da93c to 0x1000da9e8 (172 bytes)\n// \n// 1 xrefs:\n// > CreatorLayer::scene @ 0x1000da900\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 10:58:58 +0000\n// \n\n_QWORD *CreatorLayer::create()\n{\n  _QWORD *v0; // x19\n\n  v0 = operator new(0x1E8u);\n  cocos2d::CCLayer::CCLayer();\n  *v0 = off_1008CF240;\n  v0[40] = off_1008CF6E8;\n  v0[41] = &off_1008CF758;\n  v0[42] = off_1008CF770;\n  v0[43] = &off_1008CF790;\n  v0[44] = off_1008CF7B8;\n  v0[51] = &off_1008CF7E8;\n  v0[52] = &off_1008CF800;\n  v0[53] = &off_1008CF818;\n  *((_OWORD *)v0 + 27) = 0u;\n  *((_OWORD *)v0 + 28) = 0u;\n  *((_OWORD *)v0 + 29) = 0u;\n  v0[60] = 0xFFFFFFFFLL;\n  if ( (unsigned int)CreatorLayer::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; CreatorLayer::create from 0x1000da93c to 0x1000da9e8 (172 bytes)\n; \n; 1 xrefs:\n; > CreatorLayer::scene @ 0x1000da900\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 10:58:58 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1000da93c\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1000da940\nADD             X29, SP, #0x10                                         ; +0x8, 0x1000da944\nMOV             W0, #0x1E8; __sz                                       ; +0xc, 0x1000da948\nBL              __Znwm; operator new(ulong)                            ; +0x10, 0x1000da94c\nMOV             X19, X0                                                ; +0x14, 0x1000da950\nBL              cocos2d__CCLayer__CCLayer                              ; +0x18, 0x1000da954\nADRL            X8, off_1008CF240                                      ; +0x1c, 0x1000da958\nSTR             X8, [X19]                                              ; +0x24, 0x1000da960\nADD             X9, X8, #(off_1008CF6E8 - 0x1008CF240)                 ; +0x28, 0x1000da964\nADD             X10, X8, #(off_1008CF758 - 0x1008CF240)                ; +0x2c, 0x1000da968\nSTP             X9, X10, [X19,#0x140]                                  ; +0x30, 0x1000da96c\nADD             X9, X8, #(off_1008CF770 - 0x1008CF240)                 ; +0x34, 0x1000da970\nADD             X10, X8, #(off_1008CF790 - 0x1008CF240)                ; +0x38, 0x1000da974\nSTP             X9, X10, [X19,#0x150]                                  ; +0x3c, 0x1000da978\nADD             X9, X8, #(off_1008CF7B8 - 0x1008CF240)                 ; +0x40, 0x1000da97c\nSTR             X9, [X19,#0x160]                                       ; +0x44, 0x1000da980\nADD             X9, X8, #(off_1008CF7E8 - 0x1008CF240)                 ; +0x48, 0x1000da984\nADD             X10, X8, #(off_1008CF800 - 0x1008CF240)                ; +0x4c, 0x1000da988\nSTP             X9, X10, [X19,#0x198]                                  ; +0x50, 0x1000da98c\nADD             X8, X8, #(off_1008CF818 - 0x1008CF240)                 ; +0x54, 0x1000da990\nSTR             X8, [X19,#0x1A8]                                       ; +0x58, 0x1000da994\nMOVI            V0.16B, #0                                             ; +0x5c, 0x1000da998\nSTP             Q0, Q0, [X19,#0x1B0]                                   ; +0x60, 0x1000da99c\nSTR             Q0, [X19,#0x1D0]                                       ; +0x64, 0x1000da9a0\nMOVI            D0, #0xFFFFFFFF                                        ; +0x68, 0x1000da9a4\nSTR             D0, [X19,#0x1E0]                                       ; +0x6c, 0x1000da9a8\nMOV             X0, X19                                                ; +0x70, 0x1000da9ac\nBL              CreatorLayer__init                                     ; +0x74, 0x1000da9b0\nCBZ             W0, loc_1000DA9C4                                      ; +0x78, 0x1000da9b4\nMOV             X0, X19                                                ; +0x7c, 0x1000da9b8\nBL              cocos2d__CCObject__autorelease                         ; +0x80, 0x1000da9bc\nB               loc_1000DA9D8                                          ; +0x84, 0x1000da9c0\nLDR             X8, [X19]                                              ; +0x88, 0x1000da9c4\nLDR             X8, [X8,#0x10]                                         ; +0x8c, 0x1000da9c8\nMOV             X0, X19                                                ; +0x90, 0x1000da9cc\nBLR             X8                                                     ; +0x94, 0x1000da9d0\nMOV             X19, #0                                                ; +0x98, 0x1000da9d4\nMOV             X0, X19                                                ; +0x9c, 0x1000da9d8\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0xa0, 0x1000da9dc\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0xa4, 0x1000da9e0\nRET                                                                    ; +0xa8, 0x1000da9e4", "xrefs": ["CreatorLayer::scene @ 0x1000da900"], "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"}