{"type": "func", "start": 4297156128, "end": 4297156293, "name": "DailyLevelNode::create", "pseudocode": "// \n// DailyLevelNode::create from 0x100216620 to 0x1002166c5 (165 bytes)\n// \n// 1 xrefs:\n// > DailyLevelPage::createDailyNode @ 0x100215c2f\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:27:00 +0000\n// \n\nchar *__fastcall DailyLevelNode::create(__int64 a1, __int64 a2, unsigned __int8 a3)\n{\n  char *v4; // rbx\n\n  v4 = (char *)operator new(0x178u);\n  cocos2d::CCNode::CCNode(v4);\n  *(_QWORD *)v4 = off_100AE6868;\n  *((_QWORD *)v4 + 40) = &off_100AE6C00;\n  *(_OWORD *)(v4 + 328) = 0;\n  *((_QWORD *)v4 + 43) = 0;\n  sub_1002782A0(v4 + 352);\n  *((_WORD *)v4 + 184) = 0;\n  if ( (unsigned __int8)DailyLevelNode::init(v4, a1, a2, a3) )\n  {\n    cocos2d::CCObject::autorelease(v4);\n  }\n  else\n  {\n    (*(void (__fastcall **)(char *))(*(_QWORD *)v4 + 16LL))(v4);\n    return nullptr;\n  }\n  return v4;\n}", "assembly": "; \n; DailyLevelNode::create from 0x100216620 to 0x1002166c5 (165 bytes)\n; \n; 1 xrefs:\n; > DailyLevelPage::createDailyNode @ 0x100215c2f\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:27:00 +0000\n; \npush    rbp                                                            ; +0x0, 0x100216620\nmov     rbp, rsp                                                       ; +0x1, 0x100216621\npush    r15                                                            ; +0x4, 0x100216624\npush    r14                                                            ; +0x6, 0x100216626\npush    r12                                                            ; +0x8, 0x100216628\npush    rbx                                                            ; +0xa, 0x10021662a\nmov     r12d, edx                                                      ; +0xb, 0x10021662b\nmov     r14, rsi                                                       ; +0xe, 0x10021662e\nmov     r15, rdi                                                       ; +0x11, 0x100216631\nmov     edi, 178h; __sz                                                ; +0x14, 0x100216634\ncall    __Znwm; operator new(ulong)                                    ; +0x19, 0x100216639\nmov     rbx, rax                                                       ; +0x1e, 0x10021663e\nmov     rdi, rax                                                       ; +0x21, 0x100216641\ncall    cocos2d__CCNode__CCNode                                        ; +0x24, 0x100216644\nlea     rax, off_100AE6868                                             ; +0x29, 0x100216649\nmov     [rbx], rax                                                     ; +0x30, 0x100216650\nlea     rax, off_100AE6C00                                             ; +0x33, 0x100216653\nmov     [rbx+140h], rax                                                ; +0x3a, 0x10021665a\nmov     rdi, rbx                                                       ; +0x41, 0x100216661\nadd     rdi, 160h                                                      ; +0x44, 0x100216664\nxorps   xmm0, xmm0                                                     ; +0x4b, 0x10021666b\nmovups  xmmword ptr [rbx+148h], xmm0                                   ; +0x4e, 0x10021666e\nmov     qword ptr [rbx+158h], 0                                        ; +0x55, 0x100216675\ncall    sub_1002782A0                                                  ; +0x60, 0x100216680\nmov     word ptr [rbx+170h], 0                                         ; +0x65, 0x100216685\nmovzx   ecx, r12b                                                      ; +0x6e, 0x10021668e\nmov     rdi, rbx                                                       ; +0x72, 0x100216692\nmov     rsi, r15                                                       ; +0x75, 0x100216695\nmov     rdx, r14                                                       ; +0x78, 0x100216698\ncall    DailyLevelNode__init                                           ; +0x7b, 0x10021669b\ntest    al, al                                                         ; +0x80, 0x1002166a0\njz      short loc_1002166AE                                            ; +0x82, 0x1002166a2\nmov     rdi, rbx                                                       ; +0x84, 0x1002166a4\ncall    cocos2d__CCObject__autorelease                                 ; +0x87, 0x1002166a7\njmp     short loc_1002166B9                                            ; +0x8c, 0x1002166ac\nmov     rax, [rbx]                                                     ; +0x8e, 0x1002166ae\nmov     rdi, rbx                                                       ; +0x91, 0x1002166b1\ncall    qword ptr [rax+10h]                                            ; +0x94, 0x1002166b4\nxor     ebx, ebx                                                       ; +0x97, 0x1002166b7\nmov     rax, rbx                                                       ; +0x99, 0x1002166b9\npop     rbx                                                            ; +0x9c, 0x1002166bc\npop     r12                                                            ; +0x9d, 0x1002166bd\npop     r14                                                            ; +0x9f, 0x1002166bf\npop     r15                                                            ; +0xa1, 0x1002166c1\npop     rbp                                                            ; +0xa3, 0x1002166c3\nretn                                                                   ; +0xa4, 0x1002166c4", "xrefs": ["DailyLevelPage::createDailyNode @ 0x100215c2f"], "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"}