{"type": "func", "start": 4297261232, "end": 4297261601, "name": "DailyLevelPage::create", "pseudocode": "// \n// DailyLevelPage::create from 0x1002300b0 to 0x100230221 (369 bytes)\n// \n// 3 xrefs:\n// > CreatorLayer::onDailyLevel @ 0x100298946\n// > CreatorLayer::onWeeklyLevel @ 0x100298969\n// > CreatorLayer::onEventLevel @ 0x100298989\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\nDailyLevelPage *__fastcall DailyLevelPage::create(GJTimedLevelType a1)\n{\n  char *v1; // rbx\n\n  v1 = (char *)operator new(0x2C8u);\n  cocos2d::CCLayerColor::CCLayerColor(v1);\n  *((_QWORD *)v1 + 72) = 0;\n  *((_DWORD *)v1 + 146) = 0;\n  v1[588] = 0;\n  *((_OWORD *)v1 + 34) = 0;\n  *(_OWORD *)(v1 + 553) = 0;\n  *((_OWORD *)v1 + 37) = 0;\n  *((_QWORD *)v1 + 76) = 0;\n  *((_DWORD *)v1 + 154) = -1;\n  *((_WORD *)v1 + 310) = 0;\n  *((_DWORD *)v1 + 156) = -1;\n  v1[628] = 0;\n  *(_QWORD *)v1 = off_1008E1A28;\n  *((_QWORD *)v1 + 40) = off_1008E1F70;\n  *((_QWORD *)v1 + 41) = &off_1008E1FE0;\n  *((_QWORD *)v1 + 42) = off_1008E1FF8;\n  *((_QWORD *)v1 + 43) = off_1008E2018;\n  *((_QWORD *)v1 + 44) = off_1008E2038;\n  *((_QWORD *)v1 + 51) = off_1008E2060;\n  *((_QWORD *)v1 + 54) = off_1008E20E0;\n  *((_QWORD *)v1 + 79) = &off_1008E2100;\n  *((_QWORD *)v1 + 80) = off_1008E2118;\n  *((_QWORD *)v1 + 81) = off_1008E2138;\n  *((_QWORD *)v1 + 86) = 0;\n  v1[696] = 0;\n  *(_QWORD *)(v1 + 700) = 0;\n  *(_OWORD *)(v1 + 664) = 0;\n  *((_WORD *)v1 + 340) = 0;\n  if ( DailyLevelPage::init((DailyLevelPage *)v1, a1) )\n  {\n    cocos2d::CCObject::autorelease((cocos2d::CCObject *)v1);\n  }\n  else\n  {\n    (*(void (__fastcall **)(char *))(*(_QWORD *)v1 + 16LL))(v1);\n    return nullptr;\n  }\n  return (DailyLevelPage *)v1;\n}", "assembly": "; \n; DailyLevelPage::create from 0x1002300b0 to 0x100230221 (369 bytes)\n; \n; 3 xrefs:\n; > CreatorLayer::onDailyLevel @ 0x100298946\n; > CreatorLayer::onWeeklyLevel @ 0x100298969\n; > CreatorLayer::onEventLevel @ 0x100298989\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, 0x1002300b0\nmov     rbp, rsp                                                       ; +0x1, 0x1002300b1\npush    r14                                                            ; +0x4, 0x1002300b4\npush    rbx                                                            ; +0x6, 0x1002300b6\nmov     r14d, edi                                                      ; +0x7, 0x1002300b7\nmov     edi, 2C8h; __sz                                                ; +0xa, 0x1002300ba\ncall    __Znwm; operator new(ulong)                                    ; +0xf, 0x1002300bf\nmov     rbx, rax                                                       ; +0x14, 0x1002300c4\nmov     rdi, rax                                                       ; +0x17, 0x1002300c7\ncall    cocos2d__CCLayerColor__CCLayerColor                            ; +0x1a, 0x1002300ca\nmov     qword ptr [rbx+240h], 0                                        ; +0x1f, 0x1002300cf\nmov     dword ptr [rbx+248h], 0                                        ; +0x2a, 0x1002300da\nmov     byte ptr [rbx+24Ch], 0                                         ; +0x34, 0x1002300e4\nxorps   xmm0, xmm0                                                     ; +0x3b, 0x1002300eb\nmovups  xmmword ptr [rbx+220h], xmm0                                   ; +0x3e, 0x1002300ee\nmovups  xmmword ptr [rbx+229h], xmm0                                   ; +0x45, 0x1002300f5\nmovups  xmmword ptr [rbx+250h], xmm0                                   ; +0x4c, 0x1002300fc\nmov     qword ptr [rbx+260h], 0                                        ; +0x53, 0x100230103\nmov     dword ptr [rbx+268h], 0FFFFFFFFh                               ; +0x5e, 0x10023010e\nmov     word ptr [rbx+26Ch], 0                                         ; +0x68, 0x100230118\nmov     dword ptr [rbx+270h], 0FFFFFFFFh                               ; +0x71, 0x100230121\nmov     byte ptr [rbx+274h], 0                                         ; +0x7b, 0x10023012b\nlea     rax, off_1008E1A28                                             ; +0x82, 0x100230132\nmov     [rbx], rax                                                     ; +0x89, 0x100230139\nlea     rax, off_1008E1F70                                             ; +0x8c, 0x10023013c\nmov     [rbx+140h], rax                                                ; +0x93, 0x100230143\nlea     rax, off_1008E1FE0                                             ; +0x9a, 0x10023014a\nmov     [rbx+148h], rax                                                ; +0xa1, 0x100230151\nlea     rax, off_1008E1FF8                                             ; +0xa8, 0x100230158\nmov     [rbx+150h], rax                                                ; +0xaf, 0x10023015f\nlea     rax, off_1008E2018                                             ; +0xb6, 0x100230166\nmov     [rbx+158h], rax                                                ; +0xbd, 0x10023016d\nlea     rax, off_1008E2038                                             ; +0xc4, 0x100230174\nmov     [rbx+160h], rax                                                ; +0xcb, 0x10023017b\nlea     rax, off_1008E2060                                             ; +0xd2, 0x100230182\nmov     [rbx+198h], rax                                                ; +0xd9, 0x100230189\nlea     rax, off_1008E20E0                                             ; +0xe0, 0x100230190\nmov     [rbx+1B0h], rax                                                ; +0xe7, 0x100230197\nlea     rax, off_1008E2100                                             ; +0xee, 0x10023019e\nmov     [rbx+278h], rax                                                ; +0xf5, 0x1002301a5\nlea     rax, off_1008E2118                                             ; +0xfc, 0x1002301ac\nmov     [rbx+280h], rax                                                ; +0x103, 0x1002301b3\nlea     rax, off_1008E2138                                             ; +0x10a, 0x1002301ba\nmov     [rbx+288h], rax                                                ; +0x111, 0x1002301c1\nmov     qword ptr [rbx+2B0h], 0                                        ; +0x118, 0x1002301c8\nmov     byte ptr [rbx+2B8h], 0                                         ; +0x123, 0x1002301d3\nmov     qword ptr [rbx+2BCh], 0                                        ; +0x12a, 0x1002301da\nmovups  xmmword ptr [rbx+298h], xmm0                                   ; +0x135, 0x1002301e5\nmov     word ptr [rbx+2A8h], 0                                         ; +0x13c, 0x1002301ec\nmov     rdi, rbx                                                       ; +0x145, 0x1002301f5\nmov     esi, r14d                                                      ; +0x148, 0x1002301f8\ncall    DailyLevelPage__init                                           ; +0x14b, 0x1002301fb\ntest    al, al                                                         ; +0x150, 0x100230200\njz      short loc_10023020E                                            ; +0x152, 0x100230202\nmov     rdi, rbx                                                       ; +0x154, 0x100230204\ncall    cocos2d__CCObject__autorelease                                 ; +0x157, 0x100230207\njmp     short loc_100230219                                            ; +0x15c, 0x10023020c\nmov     rax, [rbx]                                                     ; +0x15e, 0x10023020e\nmov     rdi, rbx                                                       ; +0x161, 0x100230211\ncall    qword ptr [rax+10h]                                            ; +0x164, 0x100230214\nxor     ebx, ebx                                                       ; +0x167, 0x100230217\nmov     rax, rbx                                                       ; +0x169, 0x100230219\npop     rbx                                                            ; +0x16c, 0x10023021c\npop     r14                                                            ; +0x16d, 0x10023021d\npop     rbp                                                            ; +0x16f, 0x10023021f\nretn                                                                   ; +0x170, 0x100230220", "xrefs": ["CreatorLayer::onDailyLevel @ 0x100298946", "CreatorLayer::onWeeklyLevel @ 0x100298969", "CreatorLayer::onEventLevel @ 0x100298989"], "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"}