{"type": "func", "start": 5372639648, "end": 5372639845, "name": "HardStreak::create", "pseudocode": "// \n// HardStreak::create from 0x1403bf9a0 to 0x1403bfa65 (197 bytes)\n// \n// 3 xrefs:\n// > PlayerObject::setupStreak @ 0x1404e6db7\n// > PlayerObject::createFadeOutDartStreak @ 0x1404f69c2\n// > <???> @ 0x140923fd8\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 11:31:28 +0000\n// \n\n// Hidden C++ exception states: #wind=2\nchar *HardStreak::create()\n{\n  char *v0; // rbx\n  __int64 (__fastcall *v1)(char *); // rdx\n  char v2; // al\n\n  v0 = (char *)operator new(0x1C0u);\n  cocos2d::CCDrawNode::CCDrawNode((cocos2d::CCDrawNode *)v0);\n  *(_QWORD *)v0 = &HardStreak::`vftable';\n  *((_QWORD *)v0 + 40) = &HardStreak::`vftable';\n  *((_QWORD *)v0 + 52) = 0;\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v0 + 424));\n  *((_DWORD *)v0 + 108) = 1065353216;\n  *((_DWORD *)v0 + 109) = 1065353216;\n  *((_WORD *)v0 + 220) = 0;\n  v0[442] = 0;\n  v1 = *(__int64 (__fastcall **)(char *))(*(_QWORD *)v0 + 72LL);\n  if ( (char *)v1 == (char *)HardStreak::init )\n    v2 = HardStreak::init(v0);\n  else\n    v2 = v1(v0);\n  if ( v2 )\n  {\n    cocos2d::CCObject::autorelease((cocos2d::CCObject *)v0);\n    return v0;\n  }\n  else\n  {\n    (*(void (__fastcall **)(char *, __int64))(*(_QWORD *)v0 + 8LL))(v0, 1);\n    return nullptr;\n  }\n}", "assembly": "; \n; HardStreak::create from 0x1403bf9a0 to 0x1403bfa65 (197 bytes)\n; \n; 3 xrefs:\n; > PlayerObject::setupStreak @ 0x1404e6db7\n; > PlayerObject::createFadeOutDartStreak @ 0x1404f69c2\n; > <???> @ 0x140923fd8\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 11:31:28 +0000\n; \npush    rbx                                                            ; +0x0, 0x1403bf9a0\nsub     rsp, 20h                                                       ; +0x2, 0x1403bf9a2\nmov     ecx, 1C0h; Size                                                ; +0x6, 0x1403bf9a6\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xb, 0x1403bf9ab\nmov     rbx, rax                                                       ; +0x10, 0x1403bf9b0\nmov     [rsp+28h+arg_0], rax                                           ; +0x13, 0x1403bf9b3\nmov     rcx, rax                                                       ; +0x18, 0x1403bf9b8\ncall    cs:??0CCDrawNode@cocos2d@@QEAA@XZ; cocos2d::CCDrawNode::CCDrawNode(void) ; +0x1b, 0x1403bf9bb\nnop                                                                    ; +0x21, 0x1403bf9c1\nlea     rax, ??_7HardStreak@@6B@; const HardStreak::`vftable'          ; +0x22, 0x1403bf9c2\nmov     [rbx], rax                                                     ; +0x29, 0x1403bf9c9\nlea     rax, ??_7HardStreak@@6B@_0; const HardStreak::`vftable'        ; +0x2c, 0x1403bf9cc\nmov     [rbx+140h], rax                                                ; +0x33, 0x1403bf9d3\nmov     qword ptr [rbx+1A0h], 0                                        ; +0x3a, 0x1403bf9da\nlea     rcx, [rbx+1A8h]                                                ; +0x45, 0x1403bf9e5\ncall    cs:??0CCPoint@cocos2d@@QEAA@XZ; cocos2d::CCPoint::CCPoint(void) ; +0x4c, 0x1403bf9ec\nmov     dword ptr [rbx+1B0h], 3F800000h                                ; +0x52, 0x1403bf9f2\nmov     dword ptr [rbx+1B4h], 3F800000h                                ; +0x5c, 0x1403bf9fc\nmov     word ptr [rbx+1B8h], 0                                         ; +0x66, 0x1403bfa06\nmov     byte ptr [rbx+1BAh], 0                                         ; +0x6f, 0x1403bfa0f\nmov     rax, [rbx]                                                     ; +0x76, 0x1403bfa16\nmov     rdx, [rax+48h]                                                 ; +0x79, 0x1403bfa19\nlea     rax, HardStreak__init                                          ; +0x7d, 0x1403bfa1d\nmov     rcx, rbx                                                       ; +0x84, 0x1403bfa24\ncmp     rdx, rax                                                       ; +0x87, 0x1403bfa27\njnz     short loc_1403BFA33                                            ; +0x8a, 0x1403bfa2a\ncall    HardStreak__init                                               ; +0x8c, 0x1403bfa2c\njmp     short loc_1403BFA35                                            ; +0x91, 0x1403bfa31\ncall    rdx                                                            ; +0x93, 0x1403bfa33\ntest    al, al                                                         ; +0x95, 0x1403bfa35\njz      short loc_1403BFA4B                                            ; +0x97, 0x1403bfa37\nmov     rcx, rbx                                                       ; +0x99, 0x1403bfa39\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x9c, 0x1403bfa3c\nmov     rax, rbx                                                       ; +0xa2, 0x1403bfa42\nadd     rsp, 20h                                                       ; +0xa5, 0x1403bfa45\npop     rbx                                                            ; +0xa9, 0x1403bfa49\nretn                                                                   ; +0xaa, 0x1403bfa4a\nmov     rcx, [rbx]                                                     ; +0xab, 0x1403bfa4b\nmov     r8, [rcx+8]                                                    ; +0xae, 0x1403bfa4e\nmov     edx, 1                                                         ; +0xb2, 0x1403bfa52\nmov     rcx, rbx                                                       ; +0xb7, 0x1403bfa57\ncall    r8                                                             ; +0xba, 0x1403bfa5a\nxor     eax, eax                                                       ; +0xbd, 0x1403bfa5d\nadd     rsp, 20h                                                       ; +0xbf, 0x1403bfa5f\npop     rbx                                                            ; +0xc3, 0x1403bfa63\nretn                                                                   ; +0xc4, 0x1403bfa64", "xrefs": ["PlayerObject::setupStreak @ 0x1404e6db7", "PlayerObject::createFadeOutDartStreak @ 0x1404f69c2", "<???> @ 0x140923fd8"], "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"}