{"type": "func", "start": 4296730896, "end": 4296730964, "name": "GameOptionsTrigger::init", "pseudocode": "// \n// GameOptionsTrigger::init from 0x1001ae910 to 0x1001ae954 (68 bytes)\n// \n// 0 xrefs:\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 GameOptionsTrigger::init(GameOptionsTrigger *a1, const char *a2)\n{\n  bool result; // al\n\n  result = EnhancedGameObject::init(a1, a2);\n  if ( result )\n  {\n    a1->m_classType = Effect;\n    a1->m_triggerTargetColor.b = -1;\n    *(_WORD *)&a1->m_triggerTargetColor.r = -1;\n    a1->m_duration = 0.5;\n    a1->m_legacyHSV = 1;\n  }\n  return result;\n}", "assembly": "; \n; GameOptionsTrigger::init from 0x1001ae910 to 0x1001ae954 (68 bytes)\n; \n; 0 xrefs:\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, 0x1001ae910\nmov     rbp, rsp                                                       ; +0x1, 0x1001ae911\npush    rbx                                                            ; +0x4, 0x1001ae914\npush    rax                                                            ; +0x5, 0x1001ae915\nmov     rbx, rdi                                                       ; +0x6, 0x1001ae916\ncall    EnhancedGameObject__init                                       ; +0x9, 0x1001ae919\ntest    al, al                                                         ; +0xe, 0x1001ae91e\njz      short loc_1001AE94D                                            ; +0x10, 0x1001ae920\nmov     dword ptr [rbx+4E0h], 1                                        ; +0x12, 0x1001ae922\nmov     byte ptr [rbx+5AAh], 0FFh                                      ; +0x1c, 0x1001ae92c\nmov     word ptr [rbx+5A8h], 0FFFFh                                    ; +0x23, 0x1001ae933\nmov     dword ptr [rbx+5ACh], 3F000000h                                ; +0x2c, 0x1001ae93c\nmov     byte ptr [rbx+664h], 1                                         ; +0x36, 0x1001ae946\nadd     rsp, 8                                                         ; +0x3d, 0x1001ae94d\npop     rbx                                                            ; +0x41, 0x1001ae951\npop     rbp                                                            ; +0x42, 0x1001ae952\nretn                                                                   ; +0x43, 0x1001ae953", "xrefs": [], "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"}