{"type": "func", "start": 4303119552, "end": 4303119683, "name": "CCCountdown::create", "pseudocode": "// \n// CCCountdown::create from 0x1007c64c0 to 0x1007c6543 (131 bytes)\n// \n// 0 xrefs:\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\nCCCountdown *__fastcall CCCountdown::create()\n{\n  __int64 v0; // rsi\n  char *v1; // rbx\n\n  v1 = (char *)operator new(0x288u);\n  cocos2d::CCSprite::CCSprite((__int64)v1, v0);\n  *(_QWORD *)v1 = off_100995E40;\n  *((_QWORD *)v1 + 40) = off_100996318;\n  *((_QWORD *)v1 + 43) = off_100996398;\n  *(_OWORD *)(v1 + 600) = 0;\n  *(_OWORD *)(v1 + 616) = 0;\n  *(_OWORD *)(v1 + 632) = 0;\n  if ( CCCountdown::init((CCCountdown *)v1) )\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 (CCCountdown *)v1;\n}", "assembly": "; \n; CCCountdown::create from 0x1007c64c0 to 0x1007c6543 (131 bytes)\n; \n; 0 xrefs:\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, 0x1007c64c0\nmov     rbp, rsp                                                       ; +0x1, 0x1007c64c1\npush    r14                                                            ; +0x4, 0x1007c64c4\npush    rbx                                                            ; +0x6, 0x1007c64c6\nmov     edi, 288h; __sz                                                ; +0x7, 0x1007c64c7\ncall    __Znwm; operator new(ulong)                                    ; +0xc, 0x1007c64cc\nmov     rbx, rax                                                       ; +0x11, 0x1007c64d1\nmov     rdi, rax                                                       ; +0x14, 0x1007c64d4\ncall    cocos2d__CCSprite__CCSprite                                    ; +0x17, 0x1007c64d7\nlea     rax, off_100995E40                                             ; +0x1c, 0x1007c64dc\nmov     [rbx], rax                                                     ; +0x23, 0x1007c64e3\nlea     rax, off_100996318                                             ; +0x26, 0x1007c64e6\nmov     [rbx+140h], rax                                                ; +0x2d, 0x1007c64ed\nlea     rax, off_100996398                                             ; +0x34, 0x1007c64f4\nmov     [rbx+158h], rax                                                ; +0x3b, 0x1007c64fb\nxorps   xmm0, xmm0                                                     ; +0x42, 0x1007c6502\nmovups  xmmword ptr [rbx+258h], xmm0                                   ; +0x45, 0x1007c6505\nmovups  xmmword ptr [rbx+268h], xmm0                                   ; +0x4c, 0x1007c650c\nmovups  xmmword ptr [rbx+278h], xmm0                                   ; +0x53, 0x1007c6513\nmov     rdi, rbx                                                       ; +0x5a, 0x1007c651a\ncall    CCCountdown__init                                              ; +0x5d, 0x1007c651d\ntest    al, al                                                         ; +0x62, 0x1007c6522\njz      short loc_1007C6530                                            ; +0x64, 0x1007c6524\nmov     rdi, rbx                                                       ; +0x66, 0x1007c6526\ncall    cocos2d__CCObject__autorelease                                 ; +0x69, 0x1007c6529\njmp     short loc_1007C653B                                            ; +0x6e, 0x1007c652e\nmov     rax, [rbx]                                                     ; +0x70, 0x1007c6530\nmov     rdi, rbx                                                       ; +0x73, 0x1007c6533\ncall    qword ptr [rax+10h]                                            ; +0x76, 0x1007c6536\nxor     ebx, ebx                                                       ; +0x79, 0x1007c6539\nmov     rax, rbx                                                       ; +0x7b, 0x1007c653b\npop     rbx                                                            ; +0x7e, 0x1007c653e\npop     r14                                                            ; +0x7f, 0x1007c653f\npop     rbp                                                            ; +0x81, 0x1007c6541\nretn                                                                   ; +0x82, 0x1007c6542", "xrefs": [], "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"}