{"type": "func", "start": 8832660, "end": 8832876, "name": "GJGameLoadingLayer::create", "pseudocode": "// \n// GJGameLoadingLayer::create from 0x86c694 to 0x86c76c (216 bytes)\n// \n// 2 xrefs:\n// > GJGameLoadingLayer::transitionToLoadingLayer @ 0x86c79c\n// > <???> @ 0xaa598\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\nGJGameLoadingLayer *GJGameLoadingLayer::create(GJGameLevel *a1, bool a2)\n{\n  GJGameLoadingLayer *v4; // x19\n\n  v4 = (GJGameLoadingLayer *)operator new(0x1A8u);\n  cocos2d::CCLayer::CCLayer(v4);\n  v4->m_level = nullptr;\n  v4->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (GJGameLoadingLayer_vtbl *)&off_1191400;\n  v4->cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_1191880;\n  v4->cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_11918F0;\n  v4->cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)off_1191908;\n  v4->cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_1191928;\n  v4->cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_1191948;\n  v4->m_editor = 0;\n  if ( GJGameLoadingLayer::init(v4, a1, a2) )\n  {\n    cocos2d::CCObject::autorelease(v4);\n    return v4;\n  }\n  else\n  {\n    v4->~GJGameLoadingLayer_0(v4);\n    return nullptr;\n  }\n}", "assembly": "; \n; GJGameLoadingLayer::create from 0x86c694 to 0x86c76c (216 bytes)\n; \n; 2 xrefs:\n; > GJGameLoadingLayer::transitionToLoadingLayer @ 0x86c79c\n; > <???> @ 0xaa598\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             X29, X30, [SP,#var_30]!                                ; +0x0, 0x86c694\nMOV             X29, SP                                                ; +0x4, 0x86c698\nSTR             X21, [SP,#0x30+var_10]                                 ; +0x8, 0x86c69c\nMOV             X21, X0                                                ; +0xc, 0x86c6a0\nMOV             X0, #0x1A8; unsigned __int64                           ; +0x10, 0x86c6a4\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0x14, 0x86c6a8\nUXTB            W20, W1                                                ; +0x18, 0x86c6ac\nBL              _Znwm; operator new(ulong)                             ; +0x1c, 0x86c6b0\nMOV             X19, X0                                                ; +0x20, 0x86c6b4\nBL              _ZN7cocos2d7CCLayerC2Ev; cocos2d::CCLayer::CCLayer(void) ; +0x24, 0x86c6b8\nADRP            X3, #_ZTV18GJGameLoadingLayer_ptr@PAGE                 ; +0x28, 0x86c6bc\nMOV             X0, X19; this                                          ; +0x2c, 0x86c6c0\nMOV             X1, X21; GJGameLevel *                                 ; +0x30, 0x86c6c4\nMOV             W2, W20; bool                                          ; +0x34, 0x86c6c8\nLDR             X3, [X3,#_ZTV18GJGameLoadingLayer_ptr@PAGEOFF]; `vtable for'GJGameLoadingLayer ... ; +0x38, 0x86c6cc\nSTR             XZR, [X19,#0x198]                                      ; +0x3c, 0x86c6d0\nADD             X8, X3, #0x10                                          ; +0x40, 0x86c6d4\nADD             X7, X3, #0x490                                         ; +0x44, 0x86c6d8\nADD             X6, X3, #0x500                                         ; +0x48, 0x86c6dc\nADD             X5, X3, #0x518                                         ; +0x4c, 0x86c6e0\nADD             X4, X3, #0x538                                         ; +0x50, 0x86c6e4\nSTR             X8, [X19]                                              ; +0x54, 0x86c6e8\nADD             X3, X3, #0x558                                         ; +0x58, 0x86c6ec\nSTR             X7, [X19,#0x140]                                       ; +0x5c, 0x86c6f0\nSTR             X6, [X19,#0x148]                                       ; +0x60, 0x86c6f4\nSTR             X5, [X19,#0x150]                                       ; +0x64, 0x86c6f8\nSTR             X4, [X19,#0x158]                                       ; +0x68, 0x86c6fc\nSTR             X3, [X19,#0x160]                                       ; +0x6c, 0x86c700\nSTRB            WZR, [X19,#0x1A0]                                      ; +0x70, 0x86c704\nBL              _ZN18GJGameLoadingLayer4initEP11GJGameLevelb; GJGameLoadingLayer::init(GJGameLevel *,bool) ; +0x74, 0x86c708\nUXTB            W0, W0                                                 ; +0x78, 0x86c70c\nCBZ             W0, loc_86C730                                         ; +0x7c, 0x86c710\nMOV             X0, X19; this                                          ; +0x80, 0x86c714\nBL              _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x84, 0x86c718\nLDR             X21, [SP,#0x30+var_10]                                 ; +0x88, 0x86c71c\nMOV             X0, X19                                                ; +0x8c, 0x86c720\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x90, 0x86c724\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x94, 0x86c728\nRET                                                                    ; +0x98, 0x86c72c\nLDR             X1, [X19]                                              ; +0x9c, 0x86c730\nMOV             X0, X19                                                ; +0xa0, 0x86c734\nMOV             X19, #0                                                ; +0xa4, 0x86c738\nLDR             X1, [X1,#0x10]                                         ; +0xa8, 0x86c73c\nBLR             X1                                                     ; +0xac, 0x86c740\nLDR             X21, [SP,#0x30+var_10]                                 ; +0xb0, 0x86c744\nMOV             X0, X19                                                ; +0xb4, 0x86c748\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0xb8, 0x86c74c\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0xbc, 0x86c750\nRET                                                                    ; +0xc0, 0x86c754\nMOV             X20, X0                                                ; +0xc4, 0x86c758\nMOV             X0, X19; p                                             ; +0xc8, 0x86c75c\nBL              _ZdlPv; operator delete(void *)                        ; +0xcc, 0x86c760\nMOV             X0, X20                                                ; +0xd0, 0x86c764\nBL              _Unwind_Resume                                         ; +0xd4, 0x86c768", "xrefs": ["GJGameLoadingLayer::transitionToLoadingLayer @ 0x86c79c", "<???> @ 0xaa598"], "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"}