{"type": "func", "start": 4304067920, "end": 4304068051, "name": "CCCountdown::create", "pseudocode": "// \n// CCCountdown::create from 0x1008add50 to 0x1008addd3 (131 bytes)\n// \n// 0 xrefs:\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:37:19 +0000\n// \n\nchar *CCCountdown::create()\n{\n  char *v0; // rbx\n\n  v0 = (char *)operator new(0x288u);\n  cocos2d::CCSprite::CCSprite((__int64)v0);\n  *(_QWORD *)v0 = off_100BAC098;\n  *((_QWORD *)v0 + 40) = off_100BAC580;\n  *((_QWORD *)v0 + 43) = off_100BAC600;\n  *(_OWORD *)(v0 + 600) = 0;\n  *(_OWORD *)(v0 + 616) = 0;\n  *(_OWORD *)(v0 + 632) = 0;\n  if ( (unsigned __int8)CCCountdown::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; CCCountdown::create from 0x1008add50 to 0x1008addd3 (131 bytes)\n; \n; 0 xrefs:\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:37:19 +0000\n; \npush    rbp                                                            ; +0x0, 0x1008add50\nmov     rbp, rsp                                                       ; +0x1, 0x1008add51\npush    r14                                                            ; +0x4, 0x1008add54\npush    rbx                                                            ; +0x6, 0x1008add56\nmov     edi, 288h; __sz                                                ; +0x7, 0x1008add57\ncall    __Znwm; operator new(ulong)                                    ; +0xc, 0x1008add5c\nmov     rbx, rax                                                       ; +0x11, 0x1008add61\nmov     rdi, rax                                                       ; +0x14, 0x1008add64\ncall    cocos2d__CCSprite__CCSprite                                    ; +0x17, 0x1008add67\nlea     rax, off_100BAC098                                             ; +0x1c, 0x1008add6c\nmov     [rbx], rax                                                     ; +0x23, 0x1008add73\nlea     rax, off_100BAC580                                             ; +0x26, 0x1008add76\nmov     [rbx+140h], rax                                                ; +0x2d, 0x1008add7d\nlea     rax, off_100BAC600                                             ; +0x34, 0x1008add84\nmov     [rbx+158h], rax                                                ; +0x3b, 0x1008add8b\nxorps   xmm0, xmm0                                                     ; +0x42, 0x1008add92\nmovups  xmmword ptr [rbx+258h], xmm0                                   ; +0x45, 0x1008add95\nmovups  xmmword ptr [rbx+268h], xmm0                                   ; +0x4c, 0x1008add9c\nmovups  xmmword ptr [rbx+278h], xmm0                                   ; +0x53, 0x1008adda3\nmov     rdi, rbx                                                       ; +0x5a, 0x1008addaa\ncall    CCCountdown__init                                              ; +0x5d, 0x1008addad\ntest    al, al                                                         ; +0x62, 0x1008addb2\njz      short loc_1008ADDC0                                            ; +0x64, 0x1008addb4\nmov     rdi, rbx                                                       ; +0x66, 0x1008addb6\ncall    cocos2d__CCObject__autorelease                                 ; +0x69, 0x1008addb9\njmp     short loc_1008ADDCB                                            ; +0x6e, 0x1008addbe\nmov     rax, [rbx]                                                     ; +0x70, 0x1008addc0\nmov     rdi, rbx                                                       ; +0x73, 0x1008addc3\ncall    qword ptr [rax+10h]                                            ; +0x76, 0x1008addc6\nxor     ebx, ebx                                                       ; +0x79, 0x1008addc9\nmov     rax, rbx                                                       ; +0x7b, 0x1008addcb\npop     rbx                                                            ; +0x7e, 0x1008addce\npop     r14                                                            ; +0x7f, 0x1008addcf\npop     rbp                                                            ; +0x81, 0x1008addd1\nretn                                                                   ; +0x82, 0x1008addd2", "xrefs": [], "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"}