{"type": "func", "start": 4295801264, "end": 4295801726, "name": "AccountLayer::create", "pseudocode": "// \n// AccountLayer::create from 0x1000cb9b0 to 0x1000cbb7e (462 bytes)\n// \n// 2 xrefs:\n// > AccountHelpLayer::layerHidden @ 0x1000cf093\n// > OptionsLayer::layerHidden @ 0x10079b606\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\nAccountLayer *__fastcall AccountLayer::create()\n{\n  char *v0; // rbx\n\n  v0 = (char *)operator new(0x2D0u);\n  cocos2d::CCLayerColor::CCLayerColor(v0);\n  *(_QWORD *)v0 = off_100978158;\n  *((_QWORD *)v0 + 40) = off_1009786C0;\n  *((_QWORD *)v0 + 41) = &off_100978730;\n  *((_QWORD *)v0 + 42) = off_100978748;\n  *((_QWORD *)v0 + 43) = off_100978768;\n  *((_QWORD *)v0 + 44) = off_100978788;\n  *((_QWORD *)v0 + 51) = off_1009787B0;\n  *((_QWORD *)v0 + 54) = off_100978830;\n  sub_10028CC30(v0 + 544);\n  sub_10028CC30(v0 + 552);\n  *((_QWORD *)v0 + 74) = 0;\n  v0[600] = 0;\n  *((_OWORD *)v0 + 35) = 0;\n  *(_OWORD *)(v0 + 569) = 0;\n  *(_QWORD *)v0 = off_1008B83C0;\n  *((_QWORD *)v0 + 40) = off_1008B8958;\n  *((_QWORD *)v0 + 41) = &off_1008B89C8;\n  *((_QWORD *)v0 + 42) = off_1008B89E0;\n  *((_QWORD *)v0 + 43) = off_1008B8A00;\n  *((_QWORD *)v0 + 44) = off_1008B8A20;\n  *((_QWORD *)v0 + 51) = off_1008B8A48;\n  *((_QWORD *)v0 + 54) = off_1008B8AC8;\n  *((_QWORD *)v0 + 76) = &off_1008B8AE8;\n  *((_QWORD *)v0 + 77) = off_1008B8B00;\n  *((_QWORD *)v0 + 78) = off_1008B8B20;\n  *((_QWORD *)v0 + 79) = &off_1008B8B40;\n  *((_DWORD *)v0 + 178) = 0;\n  v0[716] = 0;\n  *((_OWORD *)v0 + 42) = 0;\n  *((_OWORD *)v0 + 41) = 0;\n  *((_OWORD *)v0 + 40) = 0;\n  *((_QWORD *)v0 + 86) = 0;\n  if ( GJDropDownLayer::init_1((GJDropDownLayer *)v0, \"Account\") )\n  {\n    cocos2d::CCObject::autorelease((cocos2d::CCObject *)v0);\n  }\n  else\n  {\n    (*(void (__fastcall **)(char *))(*(_QWORD *)v0 + 16LL))(v0);\n    return nullptr;\n  }\n  return (AccountLayer *)v0;\n}", "assembly": "; \n; AccountLayer::create from 0x1000cb9b0 to 0x1000cbb7e (462 bytes)\n; \n; 2 xrefs:\n; > AccountHelpLayer::layerHidden @ 0x1000cf093\n; > OptionsLayer::layerHidden @ 0x10079b606\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\npush    rbp                                                            ; +0x0, 0x1000cb9b0\nmov     rbp, rsp                                                       ; +0x1, 0x1000cb9b1\npush    r14                                                            ; +0x4, 0x1000cb9b4\npush    rbx                                                            ; +0x6, 0x1000cb9b6\nmov     edi, 2D0h; __sz                                                ; +0x7, 0x1000cb9b7\ncall    __Znwm; operator new(ulong)                                    ; +0xc, 0x1000cb9bc\nmov     rbx, rax                                                       ; +0x11, 0x1000cb9c1\nmov     rdi, rax                                                       ; +0x14, 0x1000cb9c4\ncall    cocos2d__CCLayerColor__CCLayerColor                            ; +0x17, 0x1000cb9c7\nlea     rax, _ZTV15GJDropDownLayer; `vtable for'GJDropDownLayer        ; +0x1c, 0x1000cb9cc\nlea     rcx, [rax+10h]                                                 ; +0x23, 0x1000cb9d3\nmov     [rbx], rcx                                                     ; +0x27, 0x1000cb9d7\nlea     rcx, [rax+578h]                                                ; +0x2a, 0x1000cb9da\nmov     [rbx+140h], rcx                                                ; +0x31, 0x1000cb9e1\nlea     rcx, [rax+5E8h]                                                ; +0x38, 0x1000cb9e8\nmov     [rbx+148h], rcx                                                ; +0x3f, 0x1000cb9ef\nlea     rcx, [rax+600h]                                                ; +0x46, 0x1000cb9f6\nmov     [rbx+150h], rcx                                                ; +0x4d, 0x1000cb9fd\nlea     rcx, [rax+620h]                                                ; +0x54, 0x1000cba04\nmov     [rbx+158h], rcx                                                ; +0x5b, 0x1000cba0b\nlea     rcx, [rax+640h]                                                ; +0x62, 0x1000cba12\nmov     [rbx+160h], rcx                                                ; +0x69, 0x1000cba19\nlea     rcx, [rax+668h]                                                ; +0x70, 0x1000cba20\nmov     [rbx+198h], rcx                                                ; +0x77, 0x1000cba27\nadd     rax, 6E8h                                                      ; +0x7e, 0x1000cba2e\nmov     [rbx+1B0h], rax                                                ; +0x84, 0x1000cba34\nlea     rdi, [rbx+220h]                                                ; +0x8b, 0x1000cba3b\ncall    sub_10028CC30                                                  ; +0x92, 0x1000cba42\nmov     rdi, rbx                                                       ; +0x97, 0x1000cba47\nadd     rdi, 228h                                                      ; +0x9a, 0x1000cba4a\ncall    sub_10028CC30                                                  ; +0xa1, 0x1000cba51\nmov     qword ptr [rbx+250h], 0                                        ; +0xa6, 0x1000cba56\nmov     byte ptr [rbx+258h], 0                                         ; +0xb1, 0x1000cba61\nxorps   xmm0, xmm0                                                     ; +0xb8, 0x1000cba68\nmovups  xmmword ptr [rbx+230h], xmm0                                   ; +0xbb, 0x1000cba6b\nmovups  xmmword ptr [rbx+239h], xmm0                                   ; +0xc2, 0x1000cba72\nlea     rax, off_1008B83C0                                             ; +0xc9, 0x1000cba79\nmov     [rbx], rax                                                     ; +0xd0, 0x1000cba80\nlea     rax, off_1008B8958                                             ; +0xd3, 0x1000cba83\nmov     [rbx+140h], rax                                                ; +0xda, 0x1000cba8a\nlea     rax, off_1008B89C8                                             ; +0xe1, 0x1000cba91\nmov     [rbx+148h], rax                                                ; +0xe8, 0x1000cba98\nlea     rax, off_1008B89E0                                             ; +0xef, 0x1000cba9f\nmov     [rbx+150h], rax                                                ; +0xf6, 0x1000cbaa6\nlea     rax, off_1008B8A00                                             ; +0xfd, 0x1000cbaad\nmov     [rbx+158h], rax                                                ; +0x104, 0x1000cbab4\nlea     rax, off_1008B8A20                                             ; +0x10b, 0x1000cbabb\nmov     [rbx+160h], rax                                                ; +0x112, 0x1000cbac2\nlea     rax, off_1008B8A48                                             ; +0x119, 0x1000cbac9\nmov     [rbx+198h], rax                                                ; +0x120, 0x1000cbad0\nlea     rax, off_1008B8AC8                                             ; +0x127, 0x1000cbad7\nmov     [rbx+1B0h], rax                                                ; +0x12e, 0x1000cbade\nlea     rax, off_1008B8AE8                                             ; +0x135, 0x1000cbae5\nmov     [rbx+260h], rax                                                ; +0x13c, 0x1000cbaec\nlea     rax, off_1008B8B00                                             ; +0x143, 0x1000cbaf3\nmov     [rbx+268h], rax                                                ; +0x14a, 0x1000cbafa\nlea     rax, off_1008B8B20                                             ; +0x151, 0x1000cbb01\nmov     [rbx+270h], rax                                                ; +0x158, 0x1000cbb08\nlea     rax, off_1008B8B40                                             ; +0x15f, 0x1000cbb0f\nmov     [rbx+278h], rax                                                ; +0x166, 0x1000cbb16\nmov     dword ptr [rbx+2C8h], 0                                        ; +0x16d, 0x1000cbb1d\nmov     byte ptr [rbx+2CCh], 0                                         ; +0x177, 0x1000cbb27\nmovups  xmmword ptr [rbx+2A0h], xmm0                                   ; +0x17e, 0x1000cbb2e\nmovups  xmmword ptr [rbx+290h], xmm0                                   ; +0x185, 0x1000cbb35\nmovups  xmmword ptr [rbx+280h], xmm0                                   ; +0x18c, 0x1000cbb3c\nmov     qword ptr [rbx+2B0h], 0                                        ; +0x193, 0x1000cbb43\nlea     rsi, aAccount; \"Account\"                                       ; +0x19e, 0x1000cbb4e\nmov     rdi, rbx                                                       ; +0x1a5, 0x1000cbb55\ncall    GJDropDownLayer__init_1                                        ; +0x1a8, 0x1000cbb58\ntest    al, al                                                         ; +0x1ad, 0x1000cbb5d\njz      short loc_1000CBB6B                                            ; +0x1af, 0x1000cbb5f\nmov     rdi, rbx                                                       ; +0x1b1, 0x1000cbb61\ncall    cocos2d__CCObject__autorelease                                 ; +0x1b4, 0x1000cbb64\njmp     short loc_1000CBB76                                            ; +0x1b9, 0x1000cbb69\nmov     rax, [rbx]                                                     ; +0x1bb, 0x1000cbb6b\nmov     rdi, rbx                                                       ; +0x1be, 0x1000cbb6e\ncall    qword ptr [rax+10h]                                            ; +0x1c1, 0x1000cbb71\nxor     ebx, ebx                                                       ; +0x1c4, 0x1000cbb74\nmov     rax, rbx                                                       ; +0x1c6, 0x1000cbb76\npop     rbx                                                            ; +0x1c9, 0x1000cbb79\npop     r14                                                            ; +0x1ca, 0x1000cbb7a\npop     rbp                                                            ; +0x1cc, 0x1000cbb7c\nretn                                                                   ; +0x1cd, 0x1000cbb7d", "xrefs": ["AccountHelpLayer::layerHidden @ 0x1000cf093", "OptionsLayer::layerHidden @ 0x10079b606"], "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"}