{"type": "func", "start": 4301810592, "end": 4301810784, "name": "GameObject::commonInteractiveSetup", "pseudocode": "// \n// GameObject::commonInteractiveSetup from 0x100686ba0 to 0x100686c60 (192 bytes)\n// \n// 2 xrefs:\n// > GameObject::customSetup @ 0x10067d009\n// > EnhancedGameObject::customSetup @ 0x10069ee5f\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:35:05 +0000\n// \n\nconst mach_header_64 **__fastcall GameObject::commonInteractiveSetup(__int64 a1)\n{\n  const mach_header_64 **result; // rax\n  _QWORD v2[4]; // [rsp-20h] [rbp-20h] BYREF\n\n  *(_DWORD *)(a1 + 920) = 30;\n  *(_DWORD *)(a1 + 1048) = 9;\n  *(_BYTE *)(a1 + 1053) = 1;\n  *(_BYTE *)(a1 + 652) = 1;\n  *(_BYTE *)(a1 + 866) = 1;\n  *(_BYTE *)(a1 + 809) = 1;\n  result = *(const mach_header_64 ***)(a1 + 1096);\n  if ( result )\n    *result = &_mh_execute_header;\n  if ( !*(_BYTE *)(a1 + 649) && !*(_BYTE *)(a1 + 1044) && *(_DWORD *)(a1 + 1028) != 1614 )\n  {\n    GameObject::createAndAddParticle(a1, 30, \"keyEffect.plist\", 0, 2);\n    sub_100278250((float *)v2, 0.0, -5.0);\n    return (const mach_header_64 **)sub_100278300((_QWORD *)(a1 + 812), v2);\n  }\n  return result;\n}", "assembly": "; \n; GameObject::commonInteractiveSetup from 0x100686ba0 to 0x100686c60 (192 bytes)\n; \n; 2 xrefs:\n; > GameObject::customSetup @ 0x10067d009\n; > EnhancedGameObject::customSetup @ 0x10069ee5f\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:35:05 +0000\n; \nmov     dword ptr [rdi+398h], 1Eh                                      ; +0x0, 0x100686ba0\nmov     dword ptr [rdi+418h], 9                                        ; +0xa, 0x100686baa\nmov     byte ptr [rdi+41Dh], 1                                         ; +0x14, 0x100686bb4\nmov     byte ptr [rdi+28Ch], 1                                         ; +0x1b, 0x100686bbb\nmov     byte ptr [rdi+362h], 1                                         ; +0x22, 0x100686bc2\nmov     byte ptr [rdi+329h], 1                                         ; +0x29, 0x100686bc9\nmov     rax, [rdi+448h]                                                ; +0x30, 0x100686bd0\ntest    rax, rax                                                       ; +0x37, 0x100686bd7\njz      short loc_100686BE9                                            ; +0x3a, 0x100686bda\nmov     rcx, offset __mh_execute_header                                ; +0x3c, 0x100686bdc\nmov     [rax], rcx                                                     ; +0x46, 0x100686be6\ncmp     byte ptr [rdi+289h], 0                                         ; +0x49, 0x100686be9\njnz     short locret_100686C5F                                         ; +0x50, 0x100686bf0\ncmp     byte ptr [rdi+414h], 0                                         ; +0x52, 0x100686bf2\njnz     short locret_100686C5F                                         ; +0x59, 0x100686bf9\ncmp     dword ptr [rdi+404h], 64Eh                                     ; +0x5b, 0x100686bfb\njz      short locret_100686C5F                                         ; +0x65, 0x100686c05\npush    rbp                                                            ; +0x67, 0x100686c07\nmov     rbp, rsp                                                       ; +0x68, 0x100686c08\npush    r14                                                            ; +0x6b, 0x100686c0b\npush    rbx                                                            ; +0x6d, 0x100686c0d\nsub     rsp, 10h                                                       ; +0x6e, 0x100686c0e\nlea     rdx, aKeyeffectPlist; \"keyEffect.plist\"                        ; +0x72, 0x100686c12\nmov     rbx, rdi                                                       ; +0x79, 0x100686c19\nmov     esi, 1Eh                                                       ; +0x7c, 0x100686c1c\nxor     ecx, ecx                                                       ; +0x81, 0x100686c21\nmov     r8d, 2                                                         ; +0x83, 0x100686c23\ncall    GameObject__createAndAddParticle                               ; +0x89, 0x100686c29\nlea     r14, [rbp-18h]                                                 ; +0x8e, 0x100686c2e\nmovss   xmm1, cs:dword_100A040BC                                       ; +0x92, 0x100686c32\nxorps   xmm0, xmm0                                                     ; +0x9a, 0x100686c3a\nmov     rdi, r14                                                       ; +0x9d, 0x100686c3d\ncall    sub_100278250                                                  ; +0xa0, 0x100686c40\nadd     rbx, 32Ch                                                      ; +0xa5, 0x100686c45\nmov     rdi, rbx                                                       ; +0xac, 0x100686c4c\nmov     rsi, r14                                                       ; +0xaf, 0x100686c4f\ncall    sub_100278300                                                  ; +0xb2, 0x100686c52\nadd     rsp, 10h                                                       ; +0xb7, 0x100686c57\npop     rbx                                                            ; +0xbb, 0x100686c5b\npop     r14                                                            ; +0xbc, 0x100686c5c\npop     rbp                                                            ; +0xbe, 0x100686c5e\nretn                                                                   ; +0xbf, 0x100686c5f", "xrefs": ["GameObject::customSetup @ 0x10067d009", "EnhancedGameObject::customSetup @ 0x10069ee5f"], "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"}