{"type": "func", "start": 5372044208, "end": 5372044478, "name": "LoadingLayer::scene", "pseudocode": "// \n// LoadingLayer::scene from 0x14032e3b0 to 0x14032e4be (270 bytes)\n// \n// 3 xrefs:\n// > AppDelegate::applicationDidFinishLaunching @ 0x140082d65\n// > GameManager::reloadAllStep5 @ 0x14018a7e1\n// > <???> @ 0x1406d4f94\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\n// local variable allocation has failed, the output may be wrong!\n// Hidden C++ exception states: #wind=1\ncocos2d::CCScene *LoadingLayer::scene(bool a1)\n{\n  cocos2d::CCScene *v2; // rsi\n  LoadingLayer *v3; // rdi\n\n  v2 = (cocos2d::CCScene *)cocos2d::CCScene::create(a1);\n  v3 = (LoadingLayer *)operator new(0x1C8u);\n  cocos2d::CCLayer::CCLayer(v3);\n  v3->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (LoadingLayer_vtbl *)&LoadingLayer::`vftable';\n  v3->cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&LoadingLayer::`vftable';\n  v3->cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&LoadingLayer::`vftable';\n  v3->cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&LoadingLayer::`vftable';\n  v3->cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&LoadingLayer::`vftable';\n  v3->cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&LoadingLayer::`vftable';\n  *(_WORD *)&v3->m_unknown = 0;\n  v3->m_loadStep = 0;\n  v3->m_caption = nullptr;\n  v3->m_textArea = nullptr;\n  v3->m_sliderBar = nullptr;\n  *(_QWORD *)&v3->m_sliderGrooveXPos = 0;\n  v3->m_fromRefresh = 0;\n  if ( LoadingLayer::init(v3, a1) )\n  {\n    cocos2d::CCObject::autorelease(v3);\n  }\n  else\n  {\n    ((void (__fastcall *)(LoadingLayer *, __int64))v3->~LoadingLayer)(v3, 1);\n    v3 = nullptr;\n  }\n  v2->addChild_1(v2, v3);\n  return v2;\n}", "assembly": "; \n; LoadingLayer::scene from 0x14032e3b0 to 0x14032e4be (270 bytes)\n; \n; 3 xrefs:\n; > AppDelegate::applicationDidFinishLaunching @ 0x140082d65\n; > GameManager::reloadAllStep5 @ 0x14018a7e1\n; > <???> @ 0x1406d4f94\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x14032e3b0\nmov     [rsp+arg_10], rbp                                              ; +0x5, 0x14032e3b5\nmov     [rsp+arg_18], rsi                                              ; +0xa, 0x14032e3ba\npush    rdi                                                            ; +0xf, 0x14032e3bf\nsub     rsp, 20h                                                       ; +0x10, 0x14032e3c0\nmovzx   ebx, cl                                                        ; +0x14, 0x14032e3c4\ncall    cs:?create@CCScene@cocos2d@@SAPEAV12@XZ; cocos2d::CCScene::create(void) ; +0x17, 0x14032e3c7\nmov     rsi, rax                                                       ; +0x1d, 0x14032e3cd\nmov     ecx, 1C8h; Size                                                ; +0x20, 0x14032e3d0\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x25, 0x14032e3d5\nmov     rdi, rax                                                       ; +0x2a, 0x14032e3da\nmov     [rsp+28h+arg_8], rax                                           ; +0x2d, 0x14032e3dd\nmov     rcx, rax                                                       ; +0x32, 0x14032e3e2\ncall    cs:??0CCLayer@cocos2d@@QEAA@XZ; cocos2d::CCLayer::CCLayer(void) ; +0x35, 0x14032e3e5\nlea     rax, ??_7LoadingLayer@@6B@; const LoadingLayer::`vftable'      ; +0x3b, 0x14032e3eb\nmov     [rdi], rax                                                     ; +0x42, 0x14032e3f2\nlea     rax, ??_7LoadingLayer@@6B@_0; const LoadingLayer::`vftable'    ; +0x45, 0x14032e3f5\nmov     [rdi+140h], rax                                                ; +0x4c, 0x14032e3fc\nlea     rax, ??_7LoadingLayer@@6B@_1; const LoadingLayer::`vftable'    ; +0x53, 0x14032e403\nmov     [rdi+148h], rax                                                ; +0x5a, 0x14032e40a\nlea     rax, ??_7LoadingLayer@@6B@_2; const LoadingLayer::`vftable'    ; +0x61, 0x14032e411\nmov     [rdi+150h], rax                                                ; +0x68, 0x14032e418\nlea     rax, ??_7LoadingLayer@@6B@_3; const LoadingLayer::`vftable'    ; +0x6f, 0x14032e41f\nmov     [rdi+158h], rax                                                ; +0x76, 0x14032e426\nlea     rax, ??_7LoadingLayer@@6B@_4; const LoadingLayer::`vftable'    ; +0x7d, 0x14032e42d\nmov     [rdi+160h], rax                                                ; +0x84, 0x14032e434\nmov     word ptr [rdi+198h], 0                                         ; +0x8b, 0x14032e43b\nxor     ebp, ebp                                                       ; +0x94, 0x14032e444\nmov     [rdi+19Ch], ebp                                                ; +0x96, 0x14032e446\nmov     [rdi+1A0h], rbp                                                ; +0x9c, 0x14032e44c\nmov     [rdi+1A8h], rbp                                                ; +0xa3, 0x14032e453\nmov     [rdi+1B0h], rbp                                                ; +0xaa, 0x14032e45a\nmov     [rdi+1B8h], rbp                                                ; +0xb1, 0x14032e461\nmov     [rdi+1C0h], bpl                                                ; +0xb8, 0x14032e468\nmovzx   edx, bl                                                        ; +0xbf, 0x14032e46f\nmov     rcx, rdi                                                       ; +0xc2, 0x14032e472\ncall    LoadingLayer__init                                             ; +0xc5, 0x14032e475\nmov     rcx, rdi                                                       ; +0xca, 0x14032e47a\ntest    al, al                                                         ; +0xcd, 0x14032e47d\njz      short loc_14032E489                                            ; +0xcf, 0x14032e47f\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0xd1, 0x14032e481\njmp     short loc_14032E497                                            ; +0xd7, 0x14032e487\nmov     rax, [rdi]                                                     ; +0xd9, 0x14032e489\nmov     edx, 1                                                         ; +0xdc, 0x14032e48c\ncall    qword ptr [rax+8]                                              ; +0xe1, 0x14032e491\nmov     rdi, rbp                                                       ; +0xe4, 0x14032e494\nmov     rax, [rsi]                                                     ; +0xe7, 0x14032e497\nmov     rdx, rdi                                                       ; +0xea, 0x14032e49a\nmov     rcx, rsi                                                       ; +0xed, 0x14032e49d\ncall    qword ptr [rax+1C0h]                                           ; +0xf0, 0x14032e4a0\nmov     rax, rsi                                                       ; +0xf6, 0x14032e4a6\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xf9, 0x14032e4a9\nmov     rbp, [rsp+28h+arg_10]                                          ; +0xfe, 0x14032e4ae\nmov     rsi, [rsp+28h+arg_18]                                          ; +0x103, 0x14032e4b3\nadd     rsp, 20h                                                       ; +0x108, 0x14032e4b8\npop     rdi                                                            ; +0x10c, 0x14032e4bc\nretn                                                                   ; +0x10d, 0x14032e4bd", "xrefs": ["AppDelegate::applicationDidFinishLaunching @ 0x140082d65", "GameManager::reloadAllStep5 @ 0x14018a7e1", "<???> @ 0x1406d4f94"], "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"}