{"type": "func", "start": 4295384876, "end": 4295384972, "name": "HardStreak::create", "pseudocode": "// \n// HardStreak::create from 0x100065f2c to 0x100065f8c (96 bytes)\n// \n// 2 xrefs:\n// > sub_100066CFC @ 0x100066d14\n// > PlayerObject::setupStreak @ 0x1002b5e48\n// \n// This function is hookable on this platform (idp: arm, 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 10:57:56 +0000\n// \n\nvoid *HardStreak::create()\n{\n  void *v0; // x19\n\n  v0 = operator new(0x1C0u);\n  sub_100066E08();\n  if ( (*(unsigned int (__fastcall **)(void *))(*(_QWORD *)v0 + 80LL))(v0) )\n  {\n    cocos2d::CCObject::autorelease(v0);\n  }\n  else\n  {\n    (*(void (__fastcall **)(void *))(*(_QWORD *)v0 + 16LL))(v0);\n    return nullptr;\n  }\n  return v0;\n}", "assembly": "; \n; HardStreak::create from 0x100065f2c to 0x100065f8c (96 bytes)\n; \n; 2 xrefs:\n; > sub_100066CFC @ 0x100066d14\n; > PlayerObject::setupStreak @ 0x1002b5e48\n; \n; This function is hookable on this platform (idp: arm, 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 10:57:56 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x100065f2c\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100065f30\nADD             X29, SP, #0x10                                         ; +0x8, 0x100065f34\nMOV             W0, #0x1C0; __sz                                       ; +0xc, 0x100065f38\nBL              __Znwm; operator new(ulong)                            ; +0x10, 0x100065f3c\nMOV             X19, X0                                                ; +0x14, 0x100065f40\nBL              sub_100066E08                                          ; +0x18, 0x100065f44\nLDR             X8, [X19]                                              ; +0x1c, 0x100065f48\nLDR             X8, [X8,#0x50]                                         ; +0x20, 0x100065f4c\nMOV             X0, X19                                                ; +0x24, 0x100065f50\nBLR             X8                                                     ; +0x28, 0x100065f54\nCBZ             W0, loc_100065F68                                      ; +0x2c, 0x100065f58\nMOV             X0, X19                                                ; +0x30, 0x100065f5c\nBL              cocos2d__CCObject__autorelease                         ; +0x34, 0x100065f60\nB               loc_100065F7C                                          ; +0x38, 0x100065f64\nLDR             X8, [X19]                                              ; +0x3c, 0x100065f68\nLDR             X8, [X8,#0x10]                                         ; +0x40, 0x100065f6c\nMOV             X0, X19                                                ; +0x44, 0x100065f70\nBLR             X8                                                     ; +0x48, 0x100065f74\nMOV             X19, #0                                                ; +0x4c, 0x100065f78\nMOV             X0, X19                                                ; +0x50, 0x100065f7c\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x54, 0x100065f80\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x58, 0x100065f84\nRET                                                                    ; +0x5c, 0x100065f88", "xrefs": ["sub_100066CFC @ 0x100066d14", "PlayerObject::setupStreak @ 0x1002b5e48"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}