{"type": "func", "start": 4296767936, "end": 4296768122, "name": "CountTriggerGameObject::create", "pseudocode": "// \n// CountTriggerGameObject::create from 0x1001b79c0 to 0x1001b7a7a (186 bytes)\n// \n// 1 xrefs:\n// > GameObject::createWithKey @ 0x10066ec42\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 12:26:12 +0000\n// \n\n_QWORD *__fastcall CountTriggerGameObject::create(__int64 a1)\n{\n  _QWORD *v1; // rbx\n\n  v1 = operator new(0x740u);\n  EffectGameObject::EffectGameObject(v1);\n  *v1 = off_100AD4A80;\n  v1[40] = off_100AD51D8;\n  v1[43] = off_100AD5258;\n  v1[230] = 0;\n  *((_WORD *)v1 + 924) = 0;\n  *((_DWORD *)v1 + 463) = 1065353216;\n  if ( (unsigned __int8)EnhancedGameObject::init(v1, a1) )\n  {\n    *((_DWORD *)v1 + 312) = 1;\n    *((_BYTE *)v1 + 1450) = -1;\n    *((_WORD *)v1 + 724) = -1;\n    *((_DWORD *)v1 + 363) = 1056964608;\n    *((_BYTE *)v1 + 1636) = 1;\n    cocos2d::CCObject::autorelease(v1);\n  }\n  else\n  {\n    (*(void (__fastcall **)(_QWORD *))(*v1 + 16LL))(v1);\n    return nullptr;\n  }\n  return v1;\n}", "assembly": "; \n; CountTriggerGameObject::create from 0x1001b79c0 to 0x1001b7a7a (186 bytes)\n; \n; 1 xrefs:\n; > GameObject::createWithKey @ 0x10066ec42\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 12:26:12 +0000\n; \npush    rbp                                                            ; +0x0, 0x1001b79c0\nmov     rbp, rsp                                                       ; +0x1, 0x1001b79c1\npush    r14                                                            ; +0x4, 0x1001b79c4\npush    rbx                                                            ; +0x6, 0x1001b79c6\nmov     r14, rdi                                                       ; +0x7, 0x1001b79c7\nmov     edi, 740h; __sz                                                ; +0xa, 0x1001b79ca\ncall    __Znwm; operator new(ulong)                                    ; +0xf, 0x1001b79cf\nmov     rbx, rax                                                       ; +0x14, 0x1001b79d4\nmov     rdi, rax                                                       ; +0x17, 0x1001b79d7\ncall    EffectGameObject__EffectGameObject                             ; +0x1a, 0x1001b79da\nlea     rax, off_100AD4A80                                             ; +0x1f, 0x1001b79df\nmov     [rbx], rax                                                     ; +0x26, 0x1001b79e6\nlea     rax, off_100AD51D8                                             ; +0x29, 0x1001b79e9\nmov     [rbx+140h], rax                                                ; +0x30, 0x1001b79f0\nlea     rax, off_100AD5258                                             ; +0x37, 0x1001b79f7\nmov     [rbx+158h], rax                                                ; +0x3e, 0x1001b79fe\nmov     qword ptr [rbx+730h], 0                                        ; +0x45, 0x1001b7a05\nmov     word ptr [rbx+738h], 0                                         ; +0x50, 0x1001b7a10\nmov     dword ptr [rbx+73Ch], 3F800000h                                ; +0x59, 0x1001b7a19\nmov     rdi, rbx                                                       ; +0x63, 0x1001b7a23\nmov     rsi, r14                                                       ; +0x66, 0x1001b7a26\ncall    EnhancedGameObject__init                                       ; +0x69, 0x1001b7a29\ntest    al, al                                                         ; +0x6e, 0x1001b7a2e\njz      short loc_1001B7A67                                            ; +0x70, 0x1001b7a30\nmov     dword ptr [rbx+4E0h], 1                                        ; +0x72, 0x1001b7a32\nmov     byte ptr [rbx+5AAh], 0FFh                                      ; +0x7c, 0x1001b7a3c\nmov     word ptr [rbx+5A8h], 0FFFFh                                    ; +0x83, 0x1001b7a43\nmov     dword ptr [rbx+5ACh], 3F000000h                                ; +0x8c, 0x1001b7a4c\nmov     byte ptr [rbx+664h], 1                                         ; +0x96, 0x1001b7a56\nmov     rdi, rbx                                                       ; +0x9d, 0x1001b7a5d\ncall    cocos2d__CCObject__autorelease                                 ; +0xa0, 0x1001b7a60\njmp     short loc_1001B7A72                                            ; +0xa5, 0x1001b7a65\nmov     rax, [rbx]                                                     ; +0xa7, 0x1001b7a67\nmov     rdi, rbx                                                       ; +0xaa, 0x1001b7a6a\ncall    qword ptr [rax+10h]                                            ; +0xad, 0x1001b7a6d\nxor     ebx, ebx                                                       ; +0xb0, 0x1001b7a70\nmov     rax, rbx                                                       ; +0xb2, 0x1001b7a72\npop     rbx                                                            ; +0xb5, 0x1001b7a75\npop     r14                                                            ; +0xb6, 0x1001b7a76\npop     rbp                                                            ; +0xb8, 0x1001b7a78\nretn                                                                   ; +0xb9, 0x1001b7a79", "xrefs": ["GameObject::createWithKey @ 0x10066ec42"], "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"}