{"type": "func", "start": 4297574768, "end": 4297575027, "name": "EditorPauseLayer::create", "pseudocode": "// \n// EditorPauseLayer::create from 0x10027c970 to 0x10027ca73 (259 bytes)\n// \n// 1 xrefs:\n// > EditorUI::onPause @ 0x100008fd9\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 12:27:41 +0000\n// \n\nchar *__fastcall EditorPauseLayer::create(__int64 a1)\n{\n  char *v1; // rbx\n\n  v1 = (char *)operator new(0x280u);\n  cocos2d::CCLayerColor::CCLayerColor(v1);\n  *((_WORD *)v1 + 272) = 0;\n  *(_QWORD *)v1 = off_100AFD9E8;\n  *((_QWORD *)v1 + 40) = off_100AFDF70;\n  *((_QWORD *)v1 + 41) = &off_100AFDFE0;\n  *((_QWORD *)v1 + 42) = off_100AFDFF8;\n  *((_QWORD *)v1 + 43) = off_100AFE018;\n  *((_QWORD *)v1 + 44) = off_100AFE040;\n  *((_QWORD *)v1 + 51) = off_100AFE070;\n  *((_QWORD *)v1 + 54) = off_100AFE0F0;\n  *((_QWORD *)v1 + 69) = &off_100AFE110;\n  *((_QWORD *)v1 + 70) = &off_100AFE128;\n  v1[568] = 0;\n  *((_QWORD *)v1 + 72) = 0;\n  *(_OWORD *)(v1 + 616) = 0;\n  *((_QWORD *)v1 + 79) = 0;\n  if ( (unsigned __int8)EditorPauseLayer::init(v1, a1) )\n  {\n    cocos2d::CCObject::autorelease(v1);\n  }\n  else\n  {\n    (*(void (__fastcall **)(char *))(*(_QWORD *)v1 + 16LL))(v1);\n    return nullptr;\n  }\n  return v1;\n}", "assembly": "; \n; EditorPauseLayer::create from 0x10027c970 to 0x10027ca73 (259 bytes)\n; \n; 1 xrefs:\n; > EditorUI::onPause @ 0x100008fd9\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 12:27:41 +0000\n; \npush    rbp                                                            ; +0x0, 0x10027c970\nmov     rbp, rsp                                                       ; +0x1, 0x10027c971\npush    r14                                                            ; +0x4, 0x10027c974\npush    rbx                                                            ; +0x6, 0x10027c976\nmov     r14, rdi                                                       ; +0x7, 0x10027c977\nmov     edi, 280h; __sz                                                ; +0xa, 0x10027c97a\ncall    __Znwm; operator new(ulong)                                    ; +0xf, 0x10027c97f\nmov     rbx, rax                                                       ; +0x14, 0x10027c984\nmov     rdi, rax                                                       ; +0x17, 0x10027c987\ncall    cocos2d__CCLayerColor__CCLayerColor                            ; +0x1a, 0x10027c98a\nmov     word ptr [rbx+220h], 0                                         ; +0x1f, 0x10027c98f\nlea     rax, off_100AFD9E8                                             ; +0x28, 0x10027c998\nmov     [rbx], rax                                                     ; +0x2f, 0x10027c99f\nlea     rax, off_100AFDF70                                             ; +0x32, 0x10027c9a2\nmov     [rbx+140h], rax                                                ; +0x39, 0x10027c9a9\nlea     rax, off_100AFDFE0                                             ; +0x40, 0x10027c9b0\nmov     [rbx+148h], rax                                                ; +0x47, 0x10027c9b7\nlea     rax, off_100AFDFF8                                             ; +0x4e, 0x10027c9be\nmov     [rbx+150h], rax                                                ; +0x55, 0x10027c9c5\nlea     rax, off_100AFE018                                             ; +0x5c, 0x10027c9cc\nmov     [rbx+158h], rax                                                ; +0x63, 0x10027c9d3\nlea     rax, off_100AFE040                                             ; +0x6a, 0x10027c9da\nmov     [rbx+160h], rax                                                ; +0x71, 0x10027c9e1\nlea     rax, off_100AFE070                                             ; +0x78, 0x10027c9e8\nmov     [rbx+198h], rax                                                ; +0x7f, 0x10027c9ef\nlea     rax, off_100AFE0F0                                             ; +0x86, 0x10027c9f6\nmov     [rbx+1B0h], rax                                                ; +0x8d, 0x10027c9fd\nlea     rax, off_100AFE110                                             ; +0x94, 0x10027ca04\nmov     [rbx+228h], rax                                                ; +0x9b, 0x10027ca0b\nlea     rax, off_100AFE128                                             ; +0xa2, 0x10027ca12\nmov     [rbx+230h], rax                                                ; +0xa9, 0x10027ca19\nmov     byte ptr [rbx+238h], 0                                         ; +0xb0, 0x10027ca20\nmov     qword ptr [rbx+240h], 0                                        ; +0xb7, 0x10027ca27\nxorps   xmm0, xmm0                                                     ; +0xc2, 0x10027ca32\nmovups  xmmword ptr [rbx+268h], xmm0                                   ; +0xc5, 0x10027ca35\nmov     qword ptr [rbx+278h], 0                                        ; +0xcc, 0x10027ca3c\nmov     rdi, rbx                                                       ; +0xd7, 0x10027ca47\nmov     rsi, r14                                                       ; +0xda, 0x10027ca4a\ncall    EditorPauseLayer__init                                         ; +0xdd, 0x10027ca4d\ntest    al, al                                                         ; +0xe2, 0x10027ca52\njz      short loc_10027CA60                                            ; +0xe4, 0x10027ca54\nmov     rdi, rbx                                                       ; +0xe6, 0x10027ca56\ncall    cocos2d__CCObject__autorelease                                 ; +0xe9, 0x10027ca59\njmp     short loc_10027CA6B                                            ; +0xee, 0x10027ca5e\nmov     rax, [rbx]                                                     ; +0xf0, 0x10027ca60\nmov     rdi, rbx                                                       ; +0xf3, 0x10027ca63\ncall    qword ptr [rax+10h]                                            ; +0xf6, 0x10027ca66\nxor     ebx, ebx                                                       ; +0xf9, 0x10027ca69\nmov     rax, rbx                                                       ; +0xfb, 0x10027ca6b\npop     rbx                                                            ; +0xfe, 0x10027ca6e\npop     r14                                                            ; +0xff, 0x10027ca6f\npop     rbp                                                            ; +0x101, 0x10027ca71\nretn                                                                   ; +0x102, 0x10027ca72", "xrefs": ["EditorUI::onPause @ 0x100008fd9"], "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"}