{"type": "func", "start": 4296895072, "end": 4296895258, "name": "CountTriggerGameObject::create", "pseudocode": "// \n// CountTriggerGameObject::create from 0x1001d6a60 to 0x1001d6b1a (186 bytes)\n// \n// 1 xrefs:\n// > GameObject::createWithKey @ 0x10059d545\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\nCountTriggerGameObject *__fastcall CountTriggerGameObject::create(const char *a1)\n{\n  char *v1; // rbx\n\n  v1 = (char *)operator new(0x740u);\n  EffectGameObject::EffectGameObject((EffectGameObject *)v1);\n  *(_QWORD *)v1 = off_1008D12A0;\n  *((_QWORD *)v1 + 40) = off_1008D19E8;\n  *((_QWORD *)v1 + 43) = off_1008D1A68;\n  *(_QWORD *)(v1 + 1836) = 0;\n  *((_WORD *)v1 + 922) = 0;\n  *((_DWORD *)v1 + 462) = 1065353216;\n  if ( EnhancedGameObject::init((EnhancedGameObject *)v1, a1) )\n  {\n    *((_DWORD *)v1 + 312) = 1;\n    v1[1450] = -1;\n    *((_WORD *)v1 + 724) = -1;\n    *((_DWORD *)v1 + 363) = 1056964608;\n    v1[1636] = 1;\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 (CountTriggerGameObject *)v1;\n}", "assembly": "; \n; CountTriggerGameObject::create from 0x1001d6a60 to 0x1001d6b1a (186 bytes)\n; \n; 1 xrefs:\n; > GameObject::createWithKey @ 0x10059d545\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, 0x1001d6a60\nmov     rbp, rsp                                                       ; +0x1, 0x1001d6a61\npush    r14                                                            ; +0x4, 0x1001d6a64\npush    rbx                                                            ; +0x6, 0x1001d6a66\nmov     r14, rdi                                                       ; +0x7, 0x1001d6a67\nmov     edi, 740h; __sz                                                ; +0xa, 0x1001d6a6a\ncall    __Znwm; operator new(ulong)                                    ; +0xf, 0x1001d6a6f\nmov     rbx, rax                                                       ; +0x14, 0x1001d6a74\nmov     rdi, rax                                                       ; +0x17, 0x1001d6a77\ncall    EffectGameObject__EffectGameObject                             ; +0x1a, 0x1001d6a7a\nlea     rax, off_1008D12A0                                             ; +0x1f, 0x1001d6a7f\nmov     [rbx], rax                                                     ; +0x26, 0x1001d6a86\nlea     rax, off_1008D19E8                                             ; +0x29, 0x1001d6a89\nmov     [rbx+140h], rax                                                ; +0x30, 0x1001d6a90\nlea     rax, off_1008D1A68                                             ; +0x37, 0x1001d6a97\nmov     [rbx+158h], rax                                                ; +0x3e, 0x1001d6a9e\nmov     qword ptr [rbx+72Ch], 0                                        ; +0x45, 0x1001d6aa5\nmov     word ptr [rbx+734h], 0                                         ; +0x50, 0x1001d6ab0\nmov     dword ptr [rbx+738h], 3F800000h                                ; +0x59, 0x1001d6ab9\nmov     rdi, rbx                                                       ; +0x63, 0x1001d6ac3\nmov     rsi, r14                                                       ; +0x66, 0x1001d6ac6\ncall    EnhancedGameObject__init                                       ; +0x69, 0x1001d6ac9\ntest    al, al                                                         ; +0x6e, 0x1001d6ace\njz      short loc_1001D6B07                                            ; +0x70, 0x1001d6ad0\nmov     dword ptr [rbx+4E0h], 1                                        ; +0x72, 0x1001d6ad2\nmov     byte ptr [rbx+5AAh], 0FFh                                      ; +0x7c, 0x1001d6adc\nmov     word ptr [rbx+5A8h], 0FFFFh                                    ; +0x83, 0x1001d6ae3\nmov     dword ptr [rbx+5ACh], 3F000000h                                ; +0x8c, 0x1001d6aec\nmov     byte ptr [rbx+664h], 1                                         ; +0x96, 0x1001d6af6\nmov     rdi, rbx                                                       ; +0x9d, 0x1001d6afd\ncall    cocos2d__CCObject__autorelease                                 ; +0xa0, 0x1001d6b00\njmp     short loc_1001D6B12                                            ; +0xa5, 0x1001d6b05\nmov     rax, [rbx]                                                     ; +0xa7, 0x1001d6b07\nmov     rdi, rbx                                                       ; +0xaa, 0x1001d6b0a\ncall    qword ptr [rax+10h]                                            ; +0xad, 0x1001d6b0d\nxor     ebx, ebx                                                       ; +0xb0, 0x1001d6b10\nmov     rax, rbx                                                       ; +0xb2, 0x1001d6b12\npop     rbx                                                            ; +0xb5, 0x1001d6b15\npop     r14                                                            ; +0xb6, 0x1001d6b16\npop     rbp                                                            ; +0xb8, 0x1001d6b18\nretn                                                                   ; +0xb9, 0x1001d6b19", "xrefs": ["GameObject::createWithKey @ 0x10059d545"], "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"}