{"type": "func", "start": 5369343584, "end": 5369343896, "name": "AutoSaveSettingsLayer::create", "pseudocode": "// \n// AutoSaveSettingsLayer::create from 0x14009ae60 to 0x14009af98 (312 bytes)\n// \n// 3 xrefs:\n// > AutoBackupPopup::onSettings @ 0x1400ccad9\n// > EditorPauseLayer::onAutoSaveSettings @ 0x1401831b4\n// > <???> @ 0x140912ecc\n// \n// This function is hookable on this platform (idp: pc, 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:26:04 +0000\n// \n\n// Hidden C++ exception states: #wind=2\ncocos2d::CCObject *AutoSaveSettingsLayer::create()\n{\n  cocos2d::CCObject *v0; // rbx\n  __int64 (__fastcall *v1)(cocos2d::CCObject *); // rdx\n  char v2; // al\n\n  v0 = (cocos2d::CCObject *)operator new(0x420u);\n  SetupTriggerPopup::SetupTriggerPopup((__int64)v0);\n  *(_QWORD *)v0 = &AutoSaveSettingsLayer::`vftable';\n  *((_QWORD *)v0 + 40) = &AutoSaveSettingsLayer::`vftable';\n  *((_QWORD *)v0 + 41) = &AutoSaveSettingsLayer::`vftable';\n  *((_QWORD *)v0 + 42) = &AutoSaveSettingsLayer::`vftable';\n  *((_QWORD *)v0 + 43) = &AutoSaveSettingsLayer::`vftable';\n  *((_QWORD *)v0 + 44) = &AutoSaveSettingsLayer::`vftable';\n  *((_QWORD *)v0 + 51) = &AutoSaveSettingsLayer::`vftable';\n  *((_QWORD *)v0 + 54) = &AutoSaveSettingsLayer::`vftable';\n  *((_QWORD *)v0 + 68) = &AutoSaveSettingsLayer::`vftable';\n  *((_QWORD *)v0 + 83) = &AutoSaveSettingsLayer::`vftable';\n  *((_QWORD *)v0 + 84) = &AutoSaveSettingsLayer::`vftable';\n  *((_QWORD *)v0 + 125) = 0;\n  *((_QWORD *)v0 + 126) = 0;\n  *(_OWORD *)((char *)v0 + 1016) = 0;\n  *((_QWORD *)v0 + 129) = 0;\n  *((_QWORD *)v0 + 130) = 15;\n  *((_BYTE *)v0 + 1016) = 0;\n  *((_QWORD *)v0 + 131) = 0;\n  v1 = *(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v0 + 72LL);\n  if ( (char *)v1 == (char *)AutoSaveSettingsLayer::init )\n    v2 = AutoSaveSettingsLayer::init(v0);\n  else\n    v2 = v1(v0);\n  if ( v2 )\n  {\n    cocos2d::CCObject::autorelease(v0);\n    return v0;\n  }\n  else\n  {\n    (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v0 + 8LL))(v0, 1);\n    return nullptr;\n  }\n}", "assembly": "; \n; AutoSaveSettingsLayer::create from 0x14009ae60 to 0x14009af98 (312 bytes)\n; \n; 3 xrefs:\n; > AutoBackupPopup::onSettings @ 0x1400ccad9\n; > EditorPauseLayer::onAutoSaveSettings @ 0x1401831b4\n; > <???> @ 0x140912ecc\n; \n; This function is hookable on this platform (idp: pc, 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:26:04 +0000\n; \npush    rbx                                                            ; +0x0, 0x14009ae60\nsub     rsp, 20h                                                       ; +0x2, 0x14009ae62\nmov     ecx, 420h; Size                                                ; +0x6, 0x14009ae66\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xb, 0x14009ae6b\nmov     rbx, rax                                                       ; +0x10, 0x14009ae70\nmov     [rsp+28h+arg_0], rax                                           ; +0x13, 0x14009ae73\nmov     rcx, rax                                                       ; +0x18, 0x14009ae78\ncall    SetupTriggerPopup__SetupTriggerPopup                           ; +0x1b, 0x14009ae7b\nnop                                                                    ; +0x20, 0x14009ae80\nlea     rax, ??_7AutoSaveSettingsLayer@@6B@; const AutoSaveSettingsLayer::`vftable' ; +0x21, 0x14009ae81\nmov     [rbx], rax                                                     ; +0x28, 0x14009ae88\nlea     rax, ??_7AutoSaveSettingsLayer@@6B@_0; const AutoSaveSettingsLayer::`vftable' ; +0x2b, 0x14009ae8b\nmov     [rbx+140h], rax                                                ; +0x32, 0x14009ae92\nlea     rax, ??_7AutoSaveSettingsLayer@@6B@_1; const AutoSaveSettingsLayer::`vftable' ; +0x39, 0x14009ae99\nmov     [rbx+148h], rax                                                ; +0x40, 0x14009aea0\nlea     rax, ??_7AutoSaveSettingsLayer@@6B@_2; const AutoSaveSettingsLayer::`vftable' ; +0x47, 0x14009aea7\nmov     [rbx+150h], rax                                                ; +0x4e, 0x14009aeae\nlea     rax, ??_7AutoSaveSettingsLayer@@6B@_3; const AutoSaveSettingsLayer::`vftable' ; +0x55, 0x14009aeb5\nmov     [rbx+158h], rax                                                ; +0x5c, 0x14009aebc\nlea     rax, ??_7AutoSaveSettingsLayer@@6B@_4; const AutoSaveSettingsLayer::`vftable' ; +0x63, 0x14009aec3\nmov     [rbx+160h], rax                                                ; +0x6a, 0x14009aeca\nlea     rax, ??_7AutoSaveSettingsLayer@@6B@_5; const AutoSaveSettingsLayer::`vftable' ; +0x71, 0x14009aed1\nmov     [rbx+198h], rax                                                ; +0x78, 0x14009aed8\nlea     rax, ??_7AutoSaveSettingsLayer@@6B@_6; const AutoSaveSettingsLayer::`vftable' ; +0x7f, 0x14009aedf\nmov     [rbx+1B0h], rax                                                ; +0x86, 0x14009aee6\nlea     rax, ??_7AutoSaveSettingsLayer@@6B@_7; const AutoSaveSettingsLayer::`vftable' ; +0x8d, 0x14009aeed\nmov     [rbx+220h], rax                                                ; +0x94, 0x14009aef4\nlea     rax, ??_7AutoSaveSettingsLayer@@6B@_8; const AutoSaveSettingsLayer::`vftable' ; +0x9b, 0x14009aefb\nmov     [rbx+298h], rax                                                ; +0xa2, 0x14009af02\nlea     rax, ??_7AutoSaveSettingsLayer@@6B@_9; const AutoSaveSettingsLayer::`vftable' ; +0xa9, 0x14009af09\nmov     [rbx+2A0h], rax                                                ; +0xb0, 0x14009af10\nxor     eax, eax                                                       ; +0xb7, 0x14009af17\nmov     [rbx+3E8h], rax                                                ; +0xb9, 0x14009af19\nmov     [rbx+3F0h], rax                                                ; +0xc0, 0x14009af20\nxorps   xmm0, xmm0                                                     ; +0xc7, 0x14009af27\nmovups  xmmword ptr [rbx+3F8h], xmm0                                   ; +0xca, 0x14009af2a\nmov     [rbx+408h], rax                                                ; +0xd1, 0x14009af31\nmov     qword ptr [rbx+410h], 0Fh                                      ; +0xd8, 0x14009af38\nmov     [rbx+3F8h], al                                                 ; +0xe3, 0x14009af43\nmov     [rbx+418h], rax                                                ; +0xe9, 0x14009af49\nmov     rax, [rbx]                                                     ; +0xf0, 0x14009af50\nmov     rdx, [rax+48h]                                                 ; +0xf3, 0x14009af53\nlea     rax, AutoSaveSettingsLayer__init                               ; +0xf7, 0x14009af57\nmov     rcx, rbx                                                       ; +0xfe, 0x14009af5e\ncmp     rdx, rax                                                       ; +0x101, 0x14009af61\njnz     short loc_14009AF6D                                            ; +0x104, 0x14009af64\ncall    AutoSaveSettingsLayer__init                                    ; +0x106, 0x14009af66\njmp     short loc_14009AF6F                                            ; +0x10b, 0x14009af6b\ncall    rdx                                                            ; +0x10d, 0x14009af6d\nmov     rcx, rbx                                                       ; +0x10f, 0x14009af6f\ntest    al, al                                                         ; +0x112, 0x14009af72\njz      short loc_14009AF85                                            ; +0x114, 0x14009af74\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x116, 0x14009af76\nmov     rax, rbx                                                       ; +0x11c, 0x14009af7c\nadd     rsp, 20h                                                       ; +0x11f, 0x14009af7f\npop     rbx                                                            ; +0x123, 0x14009af83\nretn                                                                   ; +0x124, 0x14009af84\nmov     rax, [rbx]                                                     ; +0x125, 0x14009af85\nmov     edx, 1                                                         ; +0x128, 0x14009af88\ncall    qword ptr [rax+8]                                              ; +0x12d, 0x14009af8d\nxor     eax, eax                                                       ; +0x130, 0x14009af90\nadd     rsp, 20h                                                       ; +0x132, 0x14009af92\npop     rbx                                                            ; +0x136, 0x14009af96\nretn                                                                   ; +0x137, 0x14009af97", "xrefs": ["AutoBackupPopup::onSettings @ 0x1400ccad9", "EditorPauseLayer::onAutoSaveSettings @ 0x1401831b4", "<???> @ 0x140912ecc"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}