{"type": "func", "start": 4302553056, "end": 4302553528, "name": "CharacterColorPage::create", "pseudocode": "// \n// CharacterColorPage::create from 0x10073bfe0 to 0x10073c1b8 (472 bytes)\n// \n// 1 xrefs:\n// > GJGarageLayer::onPaint @ 0x100355539\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:36:27 +0000\n// \n\nchar *CharacterColorPage::create()\n{\n  char *v0; // rbx\n\n  v0 = (char *)operator new(0x2D8u);\n  cocos2d::CCLayerColor::CCLayerColor((__int64)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_100B9AE58;\n  *((_QWORD *)v0 + 40) = off_100B9B3A8;\n  *((_QWORD *)v0 + 41) = &off_100B9B418;\n  *((_QWORD *)v0 + 42) = off_100B9B430;\n  *((_QWORD *)v0 + 43) = off_100B9B450;\n  *((_QWORD *)v0 + 44) = off_100B9B478;\n  *((_QWORD *)v0 + 51) = off_100B9B4A8;\n  *((_QWORD *)v0 + 54) = off_100B9B528;\n  *((_QWORD *)v0 + 68) = off_100B9B548;\n  *((_DWORD *)v0 + 165) = 0;\n  *((_OWORD *)v0 + 44) = 0;\n  *((_OWORD *)v0 + 43) = 0;\n  *((_OWORD *)v0 + 42) = 0;\n  *((_QWORD *)v0 + 90) = 0;\n  if ( (unsigned __int8)CharacterColorPage::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; CharacterColorPage::create from 0x10073bfe0 to 0x10073c1b8 (472 bytes)\n; \n; 1 xrefs:\n; > GJGarageLayer::onPaint @ 0x100355539\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:36:27 +0000\n; \npush    rbp                                                            ; +0x0, 0x10073bfe0\nmov     rbp, rsp                                                       ; +0x1, 0x10073bfe1\npush    r14                                                            ; +0x4, 0x10073bfe4\npush    rbx                                                            ; +0x6, 0x10073bfe6\nmov     edi, 2D8h; __sz                                                ; +0x7, 0x10073bfe7\ncall    __Znwm; operator new(ulong)                                    ; +0xc, 0x10073bfec\nmov     rbx, rax                                                       ; +0x11, 0x10073bff1\nmov     rdi, rax                                                       ; +0x14, 0x10073bff4\ncall    cocos2d__CCLayerColor__CCLayerColor                            ; +0x17, 0x10073bff7\nlea     rax, _ZTV12FLAlertLayer; `vtable for'FLAlertLayer              ; +0x1c, 0x10073bffc\nlea     rcx, [rax+10h]                                                 ; +0x23, 0x10073c003\nmov     [rbx], rcx                                                     ; +0x27, 0x10073c007\nlea     rcx, [rax+560h]                                                ; +0x2a, 0x10073c00a\nmov     [rbx+140h], rcx                                                ; +0x31, 0x10073c011\nlea     rcx, [rax+5D0h]                                                ; +0x38, 0x10073c018\nmov     [rbx+148h], rcx                                                ; +0x3f, 0x10073c01f\nlea     rcx, [rax+5E8h]                                                ; +0x46, 0x10073c026\nmov     [rbx+150h], rcx                                                ; +0x4d, 0x10073c02d\nlea     rcx, [rax+608h]                                                ; +0x54, 0x10073c034\nmov     [rbx+158h], rcx                                                ; +0x5b, 0x10073c03b\nlea     rcx, [rax+630h]                                                ; +0x62, 0x10073c042\nmov     [rbx+160h], rcx                                                ; +0x69, 0x10073c049\nlea     rcx, [rax+660h]                                                ; +0x70, 0x10073c050\nmov     [rbx+198h], rcx                                                ; +0x77, 0x10073c057\nlea     rcx, [rax+6E0h]                                                ; +0x7e, 0x10073c05e\nmov     [rbx+1B0h], rcx                                                ; +0x85, 0x10073c065\nadd     rax, 700h                                                      ; +0x8c, 0x10073c06c\nmov     [rbx+220h], rax                                                ; +0x92, 0x10073c072\nmov     rdi, rbx                                                       ; +0x99, 0x10073c079\nadd     rdi, 258h                                                      ; +0x9c, 0x10073c07c\nxorps   xmm0, xmm0                                                     ; +0xa3, 0x10073c083\nmovups  xmmword ptr [rbx+228h], xmm0                                   ; +0xa6, 0x10073c086\nmovups  xmmword ptr [rbx+231h], xmm0                                   ; +0xad, 0x10073c08d\nmovups  xmmword ptr [rbx+248h], xmm0                                   ; +0xb4, 0x10073c094\ncall    sub_1002782A0                                                  ; +0xbb, 0x10073c09b\nxorps   xmm0, xmm0                                                     ; +0xc0, 0x10073c0a0\nmovups  xmmword ptr [rbx+260h], xmm0                                   ; +0xc3, 0x10073c0a3\nmov     qword ptr [rbx+270h], 0                                        ; +0xca, 0x10073c0aa\nmov     dword ptr [rbx+278h], 0FFFFFFFFh                               ; +0xd5, 0x10073c0b5\nmov     word ptr [rbx+27Ch], 0                                         ; +0xdf, 0x10073c0bf\nmov     dword ptr [rbx+280h], 0FFFFFFFFh                               ; +0xe8, 0x10073c0c8\nmov     byte ptr [rbx+284h], 0                                         ; +0xf2, 0x10073c0d2\nmov     qword ptr [rbx+288h], 0                                        ; +0xf9, 0x10073c0d9\nmov     byte ptr [rbx+290h], 0                                         ; +0x104, 0x10073c0e4\nlea     rax, off_100B9AE58                                             ; +0x10b, 0x10073c0eb\nmov     [rbx], rax                                                     ; +0x112, 0x10073c0f2\nlea     rax, off_100B9B3A8                                             ; +0x115, 0x10073c0f5\nmov     [rbx+140h], rax                                                ; +0x11c, 0x10073c0fc\nlea     rax, off_100B9B418                                             ; +0x123, 0x10073c103\nmov     [rbx+148h], rax                                                ; +0x12a, 0x10073c10a\nlea     rax, off_100B9B430                                             ; +0x131, 0x10073c111\nmov     [rbx+150h], rax                                                ; +0x138, 0x10073c118\nlea     rax, off_100B9B450                                             ; +0x13f, 0x10073c11f\nmov     [rbx+158h], rax                                                ; +0x146, 0x10073c126\nlea     rax, off_100B9B478                                             ; +0x14d, 0x10073c12d\nmov     [rbx+160h], rax                                                ; +0x154, 0x10073c134\nlea     rax, off_100B9B4A8                                             ; +0x15b, 0x10073c13b\nmov     [rbx+198h], rax                                                ; +0x162, 0x10073c142\nlea     rax, off_100B9B528                                             ; +0x169, 0x10073c149\nmov     [rbx+1B0h], rax                                                ; +0x170, 0x10073c150\nlea     rax, off_100B9B548                                             ; +0x177, 0x10073c157\nmov     [rbx+220h], rax                                                ; +0x17e, 0x10073c15e\nmov     dword ptr [rbx+294h], 0                                        ; +0x185, 0x10073c165\nmovups  xmmword ptr [rbx+2C0h], xmm0                                   ; +0x18f, 0x10073c16f\nmovups  xmmword ptr [rbx+2B0h], xmm0                                   ; +0x196, 0x10073c176\nmovups  xmmword ptr [rbx+2A0h], xmm0                                   ; +0x19d, 0x10073c17d\nmov     qword ptr [rbx+2D0h], 0                                        ; +0x1a4, 0x10073c184\nmov     rdi, rbx                                                       ; +0x1af, 0x10073c18f\ncall    CharacterColorPage__init                                       ; +0x1b2, 0x10073c192\ntest    al, al                                                         ; +0x1b7, 0x10073c197\njz      short loc_10073C1A5                                            ; +0x1b9, 0x10073c199\nmov     rdi, rbx                                                       ; +0x1bb, 0x10073c19b\ncall    cocos2d__CCObject__autorelease                                 ; +0x1be, 0x10073c19e\njmp     short loc_10073C1B0                                            ; +0x1c3, 0x10073c1a3\nmov     rax, [rbx]                                                     ; +0x1c5, 0x10073c1a5\nmov     rdi, rbx                                                       ; +0x1c8, 0x10073c1a8\ncall    qword ptr [rax+10h]                                            ; +0x1cb, 0x10073c1ab\nxor     ebx, ebx                                                       ; +0x1ce, 0x10073c1ae\nmov     rax, rbx                                                       ; +0x1d0, 0x10073c1b0\npop     rbx                                                            ; +0x1d3, 0x10073c1b3\npop     r14                                                            ; +0x1d4, 0x10073c1b4\npop     rbp                                                            ; +0x1d6, 0x10073c1b6\nretn                                                                   ; +0x1d7, 0x10073c1b7", "xrefs": ["GJGarageLayer::onPaint @ 0x100355539"], "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"}