{"type": "func", "start": 4295610128, "end": 4295610297, "name": "HardStreak::firstSetup", "pseudocode": "// \n// HardStreak::firstSetup from 0x10009cf10 to 0x10009cfb9 (169 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\nvoid __fastcall HardStreak::firstSetup(HardStreak *a1)\n{\n  cocos2d::CCArray *m_pointArray; // r15\n  cocos2d::CCPoint v2; // xmm0_8\n  PointNode *v3; // rax\n  double v4; // xmm0_8\n  _BYTE v5[8]; // [rsp+0h] [rbp-30h] BYREF\n  _BYTE v6[40]; // [rsp+8h] [rbp-28h] BYREF\n\n  sub_10028CC60(v5);\n  m_pointArray = a1->m_pointArray;\n  *(double *)&v2 = sub_10028CC60(v6);\n  v3 = PointNode::create(v2);\n  sub_10071FCD0(m_pointArray, v3);\n  sub_10028CBE0(v6, 10.0, 10.0);\n  v4 = sub_10028CC90();\n  HardStreak::updateStroke(a1, *(float *)&v4);\n  ((void (__fastcall *)(HardStreak *, _BYTE *))a1->visit)(a1, v6);\n  cocos2d::CCDrawNode::clear(a1);\n  sub_100720270(a1->m_pointArray);\n}", "assembly": "; \n; HardStreak::firstSetup from 0x10009cf10 to 0x10009cfb9 (169 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, 0x10009cf10\nmov     rbp, rsp                                                       ; +0x1, 0x10009cf11\npush    r15                                                            ; +0x4, 0x10009cf14\npush    r14                                                            ; +0x6, 0x10009cf16\npush    r12                                                            ; +0x8, 0x10009cf18\npush    rbx                                                            ; +0xa, 0x10009cf1a\nsub     rsp, 10h                                                       ; +0xb, 0x10009cf1b\nmov     rbx, rdi                                                       ; +0xf, 0x10009cf1f\nlea     rsi, unk_10099EE20                                             ; +0x12, 0x10009cf22\nlea     r14, [rbp+var_30]                                              ; +0x19, 0x10009cf29\nmov     rdi, r14                                                       ; +0x1d, 0x10009cf2d\ncall    sub_10028CC60                                                  ; +0x20, 0x10009cf30\nmov     r15, [rbx+1A0h]                                                ; +0x25, 0x10009cf35\nlea     r12, [rbp+var_28]                                              ; +0x2c, 0x10009cf3c\nmov     rdi, r12                                                       ; +0x30, 0x10009cf40\nmov     rsi, r14                                                       ; +0x33, 0x10009cf43\ncall    sub_10028CC60                                                  ; +0x36, 0x10009cf46\nmov     rdi, r12                                                       ; +0x3b, 0x10009cf4b\ncall    PointNode__create                                              ; +0x3e, 0x10009cf4e\nmov     rdi, r15                                                       ; +0x43, 0x10009cf53\nmov     rsi, rax                                                       ; +0x46, 0x10009cf56\ncall    sub_10071FCD0                                                  ; +0x49, 0x10009cf59\nlea     r14, [rbp+var_28]                                              ; +0x4e, 0x10009cf5e\nmovss   xmm0, cs:dword_100814FEC                                       ; +0x52, 0x10009cf62\nmov     rdi, r14                                                       ; +0x5a, 0x10009cf6a\nmovaps  xmm1, xmm0                                                     ; +0x5d, 0x10009cf6d\ncall    sub_10028CBE0                                                  ; +0x60, 0x10009cf70\nlea     rdi, [rbx+1A8h]                                                ; +0x65, 0x10009cf75\nmov     rsi, r14                                                       ; +0x6c, 0x10009cf7c\ncall    sub_10028CC90                                                  ; +0x6f, 0x10009cf7f\nmov     rdi, rbx                                                       ; +0x74, 0x10009cf84\ncall    HardStreak__updateStroke                                       ; +0x77, 0x10009cf87\nmov     rax, [rbx]                                                     ; +0x7c, 0x10009cf8c\nmov     rdi, rbx                                                       ; +0x7f, 0x10009cf8f\ncall    qword ptr [rax+2E0h]                                           ; +0x82, 0x10009cf92\nmov     rdi, rbx                                                       ; +0x88, 0x10009cf98\ncall    cocos2d__CCDrawNode__clear                                     ; +0x8b, 0x10009cf9b\nmov     rdi, [rbx+1A0h]                                                ; +0x90, 0x10009cfa0\ncall    sub_100720270                                                  ; +0x97, 0x10009cfa7\nadd     rsp, 10h                                                       ; +0x9c, 0x10009cfac\npop     rbx                                                            ; +0xa0, 0x10009cfb0\npop     r12                                                            ; +0xa1, 0x10009cfb1\npop     r14                                                            ; +0xa3, 0x10009cfb3\npop     r15                                                            ; +0xa5, 0x10009cfb5\npop     rbp                                                            ; +0xa7, 0x10009cfb7\nretn                                                                   ; +0xa8, 0x10009cfb8", "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"}