{"type": "func", "start": 4299735888, "end": 4299736403, "name": "AccountRegisterLayer::create", "pseudocode": "// \n// AccountRegisterLayer::create from 0x10048c350 to 0x10048c553 (515 bytes)\n// \n// 1 xrefs:\n// > AccountLayer::onRegister @ 0x10009a904\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:30:45 +0000\n// \n\nchar *AccountRegisterLayer::create()\n{\n  char *v0; // rbx\n\n  v0 = (char *)operator new(0x310u);\n  cocos2d::CCLayerColor::CCLayerColor(v0);\n  *(_QWORD *)v0 = off_100B4FB70;\n  *((_QWORD *)v0 + 40) = off_100B500C0;\n  *((_QWORD *)v0 + 41) = &off_100B50130;\n  *((_QWORD *)v0 + 42) = off_100B50148;\n  *((_QWORD *)v0 + 43) = off_100B50168;\n  *((_QWORD *)v0 + 44) = off_100B50190;\n  *((_QWORD *)v0 + 51) = off_100B501C0;\n  *((_QWORD *)v0 + 54) = off_100B50240;\n  *((_QWORD *)v0 + 68) = off_100B50260;\n  *(_OWORD *)(v0 + 552) = 0;\n  *(_OWORD *)(v0 + 561) = 0;\n  *(_OWORD *)(v0 + 584) = 0;\n  sub_1002782A0((_QWORD *)v0 + 75);\n  *((_OWORD *)v0 + 38) = 0;\n  *((_QWORD *)v0 + 78) = 0;\n  *((_DWORD *)v0 + 158) = -1;\n  *((_WORD *)v0 + 318) = 0;\n  *((_DWORD *)v0 + 160) = -1;\n  v0[644] = 0;\n  *((_QWORD *)v0 + 81) = 0;\n  v0[656] = 0;\n  *(_QWORD *)v0 = off_100B4E310;\n  *((_QWORD *)v0 + 40) = off_100B4E898;\n  *((_QWORD *)v0 + 41) = &off_100B4E908;\n  *((_QWORD *)v0 + 42) = off_100B4E920;\n  *((_QWORD *)v0 + 43) = off_100B4E940;\n  *((_QWORD *)v0 + 44) = off_100B4E968;\n  *((_QWORD *)v0 + 51) = off_100B4E998;\n  *((_QWORD *)v0 + 54) = off_100B4EA18;\n  *((_QWORD *)v0 + 68) = off_100B4EA38;\n  *((_QWORD *)v0 + 83) = off_100B4EA80;\n  *((_QWORD *)v0 + 84) = &off_100B4EAA0;\n  *((_QWORD *)v0 + 96) = 0;\n  v0[776] = 0;\n  *(_OWORD *)(v0 + 696) = 0;\n  *(_OWORD *)(v0 + 680) = 0;\n  *((_OWORD *)v0 + 45) = 0;\n  *((_OWORD *)v0 + 46) = 0;\n  *((_QWORD *)v0 + 94) = 0;\n  if ( (unsigned __int8)AccountRegisterLayer::init(v0) )\n  {\n    cocos2d::CCObject::autorelease((__int64)v0);\n  }\n  else\n  {\n    (*(void (__fastcall **)(char *))(*(_QWORD *)v0 + 16LL))(v0);\n    return nullptr;\n  }\n  return v0;\n}", "assembly": "; \n; AccountRegisterLayer::create from 0x10048c350 to 0x10048c553 (515 bytes)\n; \n; 1 xrefs:\n; > AccountLayer::onRegister @ 0x10009a904\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:30:45 +0000\n; \npush    rbp                                                            ; +0x0, 0x10048c350\nmov     rbp, rsp                                                       ; +0x1, 0x10048c351\npush    r14                                                            ; +0x4, 0x10048c354\npush    rbx                                                            ; +0x6, 0x10048c356\nmov     edi, 310h; __sz                                                ; +0x7, 0x10048c357\ncall    __Znwm; operator new(ulong)                                    ; +0xc, 0x10048c35c\nmov     rbx, rax                                                       ; +0x11, 0x10048c361\nmov     rdi, rax                                                       ; +0x14, 0x10048c364\ncall    cocos2d__CCLayerColor__CCLayerColor                            ; +0x17, 0x10048c367\nlea     rax, _ZTV12FLAlertLayer; `vtable for'FLAlertLayer              ; +0x1c, 0x10048c36c\nlea     rcx, [rax+10h]                                                 ; +0x23, 0x10048c373\nmov     [rbx], rcx                                                     ; +0x27, 0x10048c377\nlea     rcx, [rax+560h]                                                ; +0x2a, 0x10048c37a\nmov     [rbx+140h], rcx                                                ; +0x31, 0x10048c381\nlea     rcx, [rax+5D0h]                                                ; +0x38, 0x10048c388\nmov     [rbx+148h], rcx                                                ; +0x3f, 0x10048c38f\nlea     rcx, [rax+5E8h]                                                ; +0x46, 0x10048c396\nmov     [rbx+150h], rcx                                                ; +0x4d, 0x10048c39d\nlea     rcx, [rax+608h]                                                ; +0x54, 0x10048c3a4\nmov     [rbx+158h], rcx                                                ; +0x5b, 0x10048c3ab\nlea     rcx, [rax+630h]                                                ; +0x62, 0x10048c3b2\nmov     [rbx+160h], rcx                                                ; +0x69, 0x10048c3b9\nlea     rcx, [rax+660h]                                                ; +0x70, 0x10048c3c0\nmov     [rbx+198h], rcx                                                ; +0x77, 0x10048c3c7\nlea     rcx, [rax+6E0h]                                                ; +0x7e, 0x10048c3ce\nmov     [rbx+1B0h], rcx                                                ; +0x85, 0x10048c3d5\nadd     rax, 700h                                                      ; +0x8c, 0x10048c3dc\nmov     [rbx+220h], rax                                                ; +0x92, 0x10048c3e2\nmov     rdi, rbx                                                       ; +0x99, 0x10048c3e9\nadd     rdi, 258h                                                      ; +0x9c, 0x10048c3ec\nxorps   xmm0, xmm0                                                     ; +0xa3, 0x10048c3f3\nmovups  xmmword ptr [rbx+228h], xmm0                                   ; +0xa6, 0x10048c3f6\nmovups  xmmword ptr [rbx+231h], xmm0                                   ; +0xad, 0x10048c3fd\nmovups  xmmword ptr [rbx+248h], xmm0                                   ; +0xb4, 0x10048c404\ncall    sub_1002782A0                                                  ; +0xbb, 0x10048c40b\nxorps   xmm0, xmm0                                                     ; +0xc0, 0x10048c410\nmovups  xmmword ptr [rbx+260h], xmm0                                   ; +0xc3, 0x10048c413\nmov     qword ptr [rbx+270h], 0                                        ; +0xca, 0x10048c41a\nmov     dword ptr [rbx+278h], 0FFFFFFFFh                               ; +0xd5, 0x10048c425\nmov     word ptr [rbx+27Ch], 0                                         ; +0xdf, 0x10048c42f\nmov     dword ptr [rbx+280h], 0FFFFFFFFh                               ; +0xe8, 0x10048c438\nmov     byte ptr [rbx+284h], 0                                         ; +0xf2, 0x10048c442\nmov     qword ptr [rbx+288h], 0                                        ; +0xf9, 0x10048c449\nmov     byte ptr [rbx+290h], 0                                         ; +0x104, 0x10048c454\nlea     rax, off_100B4E310                                             ; +0x10b, 0x10048c45b\nmov     [rbx], rax                                                     ; +0x112, 0x10048c462\nlea     rax, off_100B4E898                                             ; +0x115, 0x10048c465\nmov     [rbx+140h], rax                                                ; +0x11c, 0x10048c46c\nlea     rax, off_100B4E908                                             ; +0x123, 0x10048c473\nmov     [rbx+148h], rax                                                ; +0x12a, 0x10048c47a\nlea     rax, off_100B4E920                                             ; +0x131, 0x10048c481\nmov     [rbx+150h], rax                                                ; +0x138, 0x10048c488\nlea     rax, off_100B4E940                                             ; +0x13f, 0x10048c48f\nmov     [rbx+158h], rax                                                ; +0x146, 0x10048c496\nlea     rax, off_100B4E968                                             ; +0x14d, 0x10048c49d\nmov     [rbx+160h], rax                                                ; +0x154, 0x10048c4a4\nlea     rax, off_100B4E998                                             ; +0x15b, 0x10048c4ab\nmov     [rbx+198h], rax                                                ; +0x162, 0x10048c4b2\nlea     rax, off_100B4EA18                                             ; +0x169, 0x10048c4b9\nmov     [rbx+1B0h], rax                                                ; +0x170, 0x10048c4c0\nlea     rax, off_100B4EA38                                             ; +0x177, 0x10048c4c7\nmov     [rbx+220h], rax                                                ; +0x17e, 0x10048c4ce\nlea     rax, off_100B4EA80                                             ; +0x185, 0x10048c4d5\nmov     [rbx+298h], rax                                                ; +0x18c, 0x10048c4dc\nlea     rax, off_100B4EAA0                                             ; +0x193, 0x10048c4e3\nmov     [rbx+2A0h], rax                                                ; +0x19a, 0x10048c4ea\nmov     qword ptr [rbx+300h], 0                                        ; +0x1a1, 0x10048c4f1\nmov     byte ptr [rbx+308h], 0                                         ; +0x1ac, 0x10048c4fc\nmovups  xmmword ptr [rbx+2B8h], xmm0                                   ; +0x1b3, 0x10048c503\nmovups  xmmword ptr [rbx+2A8h], xmm0                                   ; +0x1ba, 0x10048c50a\nmovups  xmmword ptr [rbx+2D0h], xmm0                                   ; +0x1c1, 0x10048c511\nmovups  xmmword ptr [rbx+2E0h], xmm0                                   ; +0x1c8, 0x10048c518\nmov     qword ptr [rbx+2F0h], 0                                        ; +0x1cf, 0x10048c51f\nmov     rdi, rbx                                                       ; +0x1da, 0x10048c52a\ncall    AccountRegisterLayer__init                                     ; +0x1dd, 0x10048c52d\ntest    al, al                                                         ; +0x1e2, 0x10048c532\njz      short loc_10048C540                                            ; +0x1e4, 0x10048c534\nmov     rdi, rbx                                                       ; +0x1e6, 0x10048c536\ncall    cocos2d__CCObject__autorelease                                 ; +0x1e9, 0x10048c539\njmp     short loc_10048C54B                                            ; +0x1ee, 0x10048c53e\nmov     rax, [rbx]                                                     ; +0x1f0, 0x10048c540\nmov     rdi, rbx                                                       ; +0x1f3, 0x10048c543\ncall    qword ptr [rax+10h]                                            ; +0x1f6, 0x10048c546\nxor     ebx, ebx                                                       ; +0x1f9, 0x10048c549\nmov     rax, rbx                                                       ; +0x1fb, 0x10048c54b\npop     rbx                                                            ; +0x1fe, 0x10048c54e\npop     r14                                                            ; +0x1ff, 0x10048c54f\npop     rbp                                                            ; +0x201, 0x10048c551\nretn                                                                   ; +0x202, 0x10048c552", "xrefs": ["AccountLayer::onRegister @ 0x10009a904"], "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"}