{"type": "func", "start": 5369553920, "end": 5369554230, "name": "DailyLevelPage::create", "pseudocode": "// \n// DailyLevelPage::create from 0x1400ce400 to 0x1400ce536 (310 bytes)\n// \n// 4 xrefs:\n// > CreatorLayer::onDailyLevel @ 0x14009e3c6\n// > CreatorLayer::onWeeklyLevel @ 0x14009e3e9\n// > CreatorLayer::onEventLevel @ 0x14009e409\n// > <???> @ 0x1406c8514\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\n// Hidden C++ exception states: #wind=1\nDailyLevelPage *DailyLevelPage::create(GJTimedLevelType a1)\n{\n  char *v2; // rdi\n\n  v2 = (char *)operator new(0x2C8u);\n  FLAlertLayer::FLAlertLayer((FLAlertLayer *)v2);\n  *(_QWORD *)v2 = &DailyLevelPage::`vftable';\n  *((_QWORD *)v2 + 40) = &DailyLevelPage::`vftable';\n  *((_QWORD *)v2 + 41) = &DailyLevelPage::`vftable';\n  *((_QWORD *)v2 + 42) = &DailyLevelPage::`vftable';\n  *((_QWORD *)v2 + 43) = &DailyLevelPage::`vftable';\n  *((_QWORD *)v2 + 44) = &DailyLevelPage::`vftable';\n  *((_QWORD *)v2 + 51) = &DailyLevelPage::`vftable';\n  *((_QWORD *)v2 + 54) = &DailyLevelPage::`vftable';\n  *((_QWORD *)v2 + 79) = &DailyLevelPage::`vftable';\n  *((_QWORD *)v2 + 80) = &DailyLevelPage::`vftable';\n  *((_QWORD *)v2 + 81) = &DailyLevelPage::`vftable';\n  *((_QWORD *)v2 + 83) = 0;\n  *((_QWORD *)v2 + 84) = 0;\n  *((_WORD *)v2 + 340) = 0;\n  *((_QWORD *)v2 + 86) = 0;\n  v2[696] = 0;\n  *(_QWORD *)(v2 + 700) = 0;\n  if ( DailyLevelPage::init((DailyLevelPage *)v2, a1) )\n  {\n    cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);\n    return (DailyLevelPage *)v2;\n  }\n  else\n  {\n    (*(void (__fastcall **)(char *, __int64))(*(_QWORD *)v2 + 8LL))(v2, 1);\n    return nullptr;\n  }\n}", "assembly": "; \n; DailyLevelPage::create from 0x1400ce400 to 0x1400ce536 (310 bytes)\n; \n; 4 xrefs:\n; > CreatorLayer::onDailyLevel @ 0x14009e3c6\n; > CreatorLayer::onWeeklyLevel @ 0x14009e3e9\n; > CreatorLayer::onEventLevel @ 0x14009e409\n; > <???> @ 0x1406c8514\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1400ce400\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x1400ce405\npush    rdi                                                            ; +0xa, 0x1400ce40a\nsub     rsp, 20h                                                       ; +0xb, 0x1400ce40b\nmov     ebx, ecx                                                       ; +0xf, 0x1400ce40f\nmov     ecx, 2C8h; Size                                                ; +0x11, 0x1400ce411\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x16, 0x1400ce416\nmov     rdi, rax                                                       ; +0x1b, 0x1400ce41b\nmov     [rsp+28h+arg_8], rax                                           ; +0x1e, 0x1400ce41e\nmov     rcx, rax                                                       ; +0x23, 0x1400ce423\ncall    FLAlertLayer__FLAlertLayer                                     ; +0x26, 0x1400ce426\nlea     rax, ??_7DailyLevelPage@@6B@; const DailyLevelPage::`vftable'  ; +0x2b, 0x1400ce42b\nmov     [rdi], rax                                                     ; +0x32, 0x1400ce432\nlea     rax, ??_7DailyLevelPage@@6B@_0; const DailyLevelPage::`vftable' ; +0x35, 0x1400ce435\nmov     [rdi+140h], rax                                                ; +0x3c, 0x1400ce43c\nlea     rax, ??_7DailyLevelPage@@6B@_1; const DailyLevelPage::`vftable' ; +0x43, 0x1400ce443\nmov     [rdi+148h], rax                                                ; +0x4a, 0x1400ce44a\nlea     rax, ??_7DailyLevelPage@@6B@_2; const DailyLevelPage::`vftable' ; +0x51, 0x1400ce451\nmov     [rdi+150h], rax                                                ; +0x58, 0x1400ce458\nlea     rax, ??_7DailyLevelPage@@6B@_3; const DailyLevelPage::`vftable' ; +0x5f, 0x1400ce45f\nmov     [rdi+158h], rax                                                ; +0x66, 0x1400ce466\nlea     rax, ??_7DailyLevelPage@@6B@_4; const DailyLevelPage::`vftable' ; +0x6d, 0x1400ce46d\nmov     [rdi+160h], rax                                                ; +0x74, 0x1400ce474\nlea     rax, ??_7DailyLevelPage@@6B@_5; const DailyLevelPage::`vftable' ; +0x7b, 0x1400ce47b\nmov     [rdi+198h], rax                                                ; +0x82, 0x1400ce482\nlea     rax, ??_7DailyLevelPage@@6B@_6; const DailyLevelPage::`vftable' ; +0x89, 0x1400ce489\nmov     [rdi+1B0h], rax                                                ; +0x90, 0x1400ce490\nlea     rax, ??_7DailyLevelPage@@6B@_7; const DailyLevelPage::`vftable' ; +0x97, 0x1400ce497\nmov     [rdi+278h], rax                                                ; +0x9e, 0x1400ce49e\nlea     rax, ??_7DailyLevelPage@@6B@_8; const DailyLevelPage::`vftable' ; +0xa5, 0x1400ce4a5\nmov     [rdi+280h], rax                                                ; +0xac, 0x1400ce4ac\nlea     rax, ??_7DailyLevelPage@@6B@_9; const DailyLevelPage::`vftable' ; +0xb3, 0x1400ce4b3\nmov     [rdi+288h], rax                                                ; +0xba, 0x1400ce4ba\nxor     esi, esi                                                       ; +0xc1, 0x1400ce4c1\nmov     [rdi+298h], rsi                                                ; +0xc3, 0x1400ce4c3\nmov     [rdi+2A0h], rsi                                                ; +0xca, 0x1400ce4ca\nmov     [rdi+2A8h], si                                                 ; +0xd1, 0x1400ce4d1\nmov     [rdi+2B0h], rsi                                                ; +0xd8, 0x1400ce4d8\nmov     [rdi+2B8h], sil                                                ; +0xdf, 0x1400ce4df\nmov     [rdi+2BCh], rsi                                                ; +0xe6, 0x1400ce4e6\nmov     edx, ebx                                                       ; +0xed, 0x1400ce4ed\nmov     rcx, rdi                                                       ; +0xef, 0x1400ce4ef\ncall    DailyLevelPage__init                                           ; +0xf2, 0x1400ce4f2\nmov     rcx, rdi                                                       ; +0xf7, 0x1400ce4f7\ntest    al, al                                                         ; +0xfa, 0x1400ce4fa\njz      short loc_1400CE517                                            ; +0xfc, 0x1400ce4fc\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0xfe, 0x1400ce4fe\nmov     rax, rdi                                                       ; +0x104, 0x1400ce504\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x107, 0x1400ce507\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x10c, 0x1400ce50c\nadd     rsp, 20h                                                       ; +0x111, 0x1400ce511\npop     rdi                                                            ; +0x115, 0x1400ce515\nretn                                                                   ; +0x116, 0x1400ce516\nmov     r8, [rdi]                                                      ; +0x117, 0x1400ce517\nmov     edx, 1                                                         ; +0x11a, 0x1400ce51a\ncall    qword ptr [r8+8]                                               ; +0x11f, 0x1400ce51f\nmov     rax, rsi                                                       ; +0x123, 0x1400ce523\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x126, 0x1400ce526\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x12b, 0x1400ce52b\nadd     rsp, 20h                                                       ; +0x130, 0x1400ce530\npop     rdi                                                            ; +0x134, 0x1400ce534\nretn                                                                   ; +0x135, 0x1400ce535", "xrefs": ["CreatorLayer::onDailyLevel @ 0x14009e3c6", "CreatorLayer::onWeeklyLevel @ 0x14009e3e9", "CreatorLayer::onEventLevel @ 0x14009e409", "<???> @ 0x1406c8514"], "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"}