{"type": "func", "start": 4295609904, "end": 4295610116, "name": "HardStreak::init", "pseudocode": "// \n// HardStreak::init from 0x10009ce30 to 0x10009cf04 (212 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1008b62d0\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\nbool __fastcall HardStreak::init(HardStreak *a1)\n{\n  __int64 v1; // rsi\n  bool result; // al\n  bool v3; // r13\n  cocos2d::CCArray *v4; // rax\n  cocos2d::CCArray *m_pointArray; // r15\n  cocos2d::CCPoint v6; // xmm0_8\n  PointNode *v7; // rax\n  double v8; // xmm0_8\n  _BYTE v9[8]; // [rsp+8h] [rbp-38h] BYREF\n  _BYTE v10[48]; // [rsp+10h] [rbp-30h] BYREF\n\n  result = cocos2d::CCDrawNode::init(a1);\n  if ( result )\n  {\n    v3 = result;\n    v4 = (cocos2d::CCArray *)sub_10071F9E0(a1, v1);\n    a1->m_pointArray = v4;\n    cocos2d::CCObject::retain(v4);\n    sub_10028CC60(v9);\n    m_pointArray = a1->m_pointArray;\n    *(double *)&v6 = sub_10028CC60(v10);\n    v7 = PointNode::create(v6);\n    sub_10071FCD0(m_pointArray, v7);\n    sub_10028CBE0(v10, 10.0, 10.0);\n    v8 = sub_10028CC90();\n    HardStreak::updateStroke(a1, *(float *)&v8);\n    ((void (__fastcall *)(HardStreak *, _BYTE *))a1->visit)(a1, v10);\n    cocos2d::CCDrawNode::clear(a1);\n    sub_100720270(a1->m_pointArray);\n    return v3;\n  }\n  return result;\n}", "assembly": "; \n; HardStreak::init from 0x10009ce30 to 0x10009cf04 (212 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1008b62d0\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, 0x10009ce30\nmov     rbp, rsp                                                       ; +0x1, 0x10009ce31\npush    r15                                                            ; +0x4, 0x10009ce34\npush    r14                                                            ; +0x6, 0x10009ce36\npush    r13                                                            ; +0x8, 0x10009ce38\npush    r12                                                            ; +0xa, 0x10009ce3a\npush    rbx                                                            ; +0xc, 0x10009ce3c\nsub     rsp, 18h                                                       ; +0xd, 0x10009ce3d\nmov     rbx, rdi                                                       ; +0x11, 0x10009ce41\ncall    cocos2d__CCDrawNode__init                                      ; +0x14, 0x10009ce44\ntest    al, al                                                         ; +0x19, 0x10009ce49\njz      loc_10009CEF5                                                  ; +0x1b, 0x10009ce4b\nmov     r13d, eax                                                      ; +0x21, 0x10009ce51\ncall    sub_10071F9E0                                                  ; +0x24, 0x10009ce54\nmov     [rbx+1A0h], rax                                                ; +0x29, 0x10009ce59\nmov     rdi, rax                                                       ; +0x30, 0x10009ce60\ncall    cocos2d__CCObject__retain                                      ; +0x33, 0x10009ce63\nlea     rsi, unk_10099EE20                                             ; +0x38, 0x10009ce68\nlea     r14, [rbp+var_38]                                              ; +0x3f, 0x10009ce6f\nmov     rdi, r14                                                       ; +0x43, 0x10009ce73\ncall    sub_10028CC60                                                  ; +0x46, 0x10009ce76\nmov     r15, [rbx+1A0h]                                                ; +0x4b, 0x10009ce7b\nlea     r12, [rbp+var_30]                                              ; +0x52, 0x10009ce82\nmov     rdi, r12                                                       ; +0x56, 0x10009ce86\nmov     rsi, r14                                                       ; +0x59, 0x10009ce89\ncall    sub_10028CC60                                                  ; +0x5c, 0x10009ce8c\nmov     rdi, r12                                                       ; +0x61, 0x10009ce91\ncall    PointNode__create                                              ; +0x64, 0x10009ce94\nmov     rdi, r15                                                       ; +0x69, 0x10009ce99\nmov     rsi, rax                                                       ; +0x6c, 0x10009ce9c\ncall    sub_10071FCD0                                                  ; +0x6f, 0x10009ce9f\nlea     r14, [rbp+var_30]                                              ; +0x74, 0x10009cea4\nmovss   xmm0, cs:dword_100814FEC                                       ; +0x78, 0x10009cea8\nmov     rdi, r14                                                       ; +0x80, 0x10009ceb0\nmovaps  xmm1, xmm0                                                     ; +0x83, 0x10009ceb3\ncall    sub_10028CBE0                                                  ; +0x86, 0x10009ceb6\nlea     rdi, [rbx+1A8h]                                                ; +0x8b, 0x10009cebb\nmov     rsi, r14                                                       ; +0x92, 0x10009cec2\ncall    sub_10028CC90                                                  ; +0x95, 0x10009cec5\nmov     rdi, rbx                                                       ; +0x9a, 0x10009ceca\ncall    HardStreak__updateStroke                                       ; +0x9d, 0x10009cecd\nmov     rax, [rbx]                                                     ; +0xa2, 0x10009ced2\nmov     rdi, rbx                                                       ; +0xa5, 0x10009ced5\ncall    qword ptr [rax+2E0h]                                           ; +0xa8, 0x10009ced8\nmov     rdi, rbx                                                       ; +0xae, 0x10009cede\ncall    cocos2d__CCDrawNode__clear                                     ; +0xb1, 0x10009cee1\nmov     rdi, [rbx+1A0h]                                                ; +0xb6, 0x10009cee6\ncall    sub_100720270                                                  ; +0xbd, 0x10009ceed\nmov     eax, r13d                                                      ; +0xc2, 0x10009cef2\nadd     rsp, 18h                                                       ; +0xc5, 0x10009cef5\npop     rbx                                                            ; +0xc9, 0x10009cef9\npop     r12                                                            ; +0xca, 0x10009cefa\npop     r13                                                            ; +0xcc, 0x10009cefc\npop     r14                                                            ; +0xce, 0x10009cefe\npop     r15                                                            ; +0xd0, 0x10009cf00\npop     rbp                                                            ; +0xd2, 0x10009cf02\nretn                                                                   ; +0xd3, 0x10009cf03", "xrefs": ["<???> @ 0x1008b62d0"], "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"}