{"type": "func", "start": 4298704832, "end": 4298705012, "name": "CountTriggerGameObject::create", "pseudocode": "// \n// CountTriggerGameObject::create from 0x1003907c0 to 0x100390874 (180 bytes)\n// \n// 1 xrefs:\n// > GameObject::createWithKey @ 0x100254844\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 *v2; // x19\n\n  v2 = (char *)operator new(0x740u);\n  EffectGameObject::EffectGameObject((EffectGameObject *)v2);\n  *(_QWORD *)v2 = &off_100802318;\n  *((_QWORD *)v2 + 40) = off_100802A60;\n  *((_QWORD *)v2 + 43) = off_100802AE0;\n  *((_WORD *)v2 + 922) = 0;\n  *(_QWORD *)(v2 + 1836) = 0;\n  *((_DWORD *)v2 + 462) = 1065353216;\n  if ( EnhancedGameObject::init((EnhancedGameObject *)v2, a1) )\n  {\n    *((_DWORD *)v2 + 312) = 1;\n    v2[1450] = -1;\n    *((_WORD *)v2 + 724) = -1;\n    *((_DWORD *)v2 + 363) = 1056964608;\n    v2[1636] = 1;\n    cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);\n  }\n  else\n  {\n    (*(void (__fastcall **)(char *))(*(_QWORD *)v2 + 16LL))(v2);\n    return nullptr;\n  }\n  return (CountTriggerGameObject *)v2;\n}", "assembly": "; \n; CountTriggerGameObject::create from 0x1003907c0 to 0x100390874 (180 bytes)\n; \n; 1 xrefs:\n; > GameObject::createWithKey @ 0x100254844\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\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1003907c0\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1003907c4\nADD             X29, SP, #0x10                                         ; +0x8, 0x1003907c8\nMOV             X20, X0                                                ; +0xc, 0x1003907cc\nMOV             W0, #0x740; __sz                                       ; +0x10, 0x1003907d0\nBL              __Znwm; operator new(ulong)                            ; +0x14, 0x1003907d4\nMOV             X19, X0                                                ; +0x18, 0x1003907d8\nBL              EffectGameObject__EffectGameObject                     ; +0x1c, 0x1003907dc\nADRL            X8, off_100802318                                      ; +0x20, 0x1003907e0\nSTR             X8, [X19]                                              ; +0x28, 0x1003907e8\nADD             X9, X8, #(off_100802A60 - 0x100802318)                 ; +0x2c, 0x1003907ec\nSTR             X9, [X19,#0x140]                                       ; +0x30, 0x1003907f0\nADD             X8, X8, #(off_100802AE0 - 0x100802318)                 ; +0x34, 0x1003907f4\nSTR             X8, [X19,#0x158]                                       ; +0x38, 0x1003907f8\nADD             X8, X19, #0x72C                                        ; +0x3c, 0x1003907fc\nSTRH            WZR, [X19,#0x734]                                      ; +0x40, 0x100390800\nSTR             XZR, [X8]                                              ; +0x44, 0x100390804\nMOV             W8, #0x3F800000                                        ; +0x48, 0x100390808\nSTR             W8, [X19,#0x738]                                       ; +0x4c, 0x10039080c\nMOV             X0, X19                                                ; +0x50, 0x100390810\nMOV             X1, X20                                                ; +0x54, 0x100390814\nBL              EnhancedGameObject__init                               ; +0x58, 0x100390818\nCBZ             W0, loc_100390850                                      ; +0x5c, 0x10039081c\nMOV             W8, #1                                                 ; +0x60, 0x100390820\nSTR             W8, [X19,#0x4E0]                                       ; +0x64, 0x100390824\nMOV             W9, #0xFF                                              ; +0x68, 0x100390828\nSTRB            W9, [X19,#0x5AA]                                       ; +0x6c, 0x10039082c\nMOV             W9, #0xFFFF                                            ; +0x70, 0x100390830\nSTRH            W9, [X19,#0x5A8]                                       ; +0x74, 0x100390834\nMOV             W9, #0x3F000000                                        ; +0x78, 0x100390838\nSTR             W9, [X19,#0x5AC]                                       ; +0x7c, 0x10039083c\nSTRB            W8, [X19,#0x664]                                       ; +0x80, 0x100390840\nMOV             X0, X19                                                ; +0x84, 0x100390844\nBL              cocos2d__CCObject__autorelease                         ; +0x88, 0x100390848\nB               loc_100390864                                          ; +0x8c, 0x10039084c\nLDR             X8, [X19]                                              ; +0x90, 0x100390850\nLDR             X8, [X8,#0x10]                                         ; +0x94, 0x100390854\nMOV             X0, X19                                                ; +0x98, 0x100390858\nBLR             X8                                                     ; +0x9c, 0x10039085c\nMOV             X19, #0                                                ; +0xa0, 0x100390860\nMOV             X0, X19                                                ; +0xa4, 0x100390864\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0xa8, 0x100390868\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0xac, 0x10039086c\nRET                                                                    ; +0xb0, 0x100390870", "xrefs": ["GameObject::createWithKey @ 0x100254844"], "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"}