{"type": "func", "start": 4296988128, "end": 4296988212, "name": "ArtTriggerGameObject::triggerObject", "pseudocode": "// \n// ArtTriggerGameObject::triggerObject from 0x1001ed5e0 to 0x1001ed634 (84 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1008d6030\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\nvoid __fastcall ArtTriggerGameObject::triggerObject(\n        ArtTriggerGameObject *a1,\n        GJBaseGameLayer *a2,\n        int a3,\n        std::vector<int> *const a4)\n{\n  int m_objectID; // eax\n\n  m_objectID = a1->m_objectID;\n  switch ( m_objectID )\n  {\n    case 3031:\n      GJBaseGameLayer::swapMiddleground(a2, a1->m_artIndex);\n      break;\n    case 3030:\n      GJBaseGameLayer::swapGround(a2, a1->m_artIndex);\n      break;\n    case 3029:\n      GJBaseGameLayer::swapBackground(a2, a1->m_artIndex);\n      break;\n  }\n}", "assembly": "; \n; ArtTriggerGameObject::triggerObject from 0x1001ed5e0 to 0x1001ed634 (84 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1008d6030\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, 0x1001ed5e0\nmov     rbp, rsp                                                       ; +0x1, 0x1001ed5e1\nmov     eax, [rdi+404h]                                                ; +0x4, 0x1001ed5e4\ncmp     eax, 0BD7h                                                     ; +0xa, 0x1001ed5ea\njz      short loc_1001ED621                                            ; +0xf, 0x1001ed5ef\ncmp     eax, 0BD6h                                                     ; +0x11, 0x1001ed5f1\njz      short loc_1001ED610                                            ; +0x16, 0x1001ed5f6\ncmp     eax, 0BD5h                                                     ; +0x18, 0x1001ed5f8\njnz     short loc_1001ED632                                            ; +0x1d, 0x1001ed5fd\nmov     eax, [rdi+72Ch]                                                ; +0x1f, 0x1001ed5ff\nmov     rdi, rsi                                                       ; +0x25, 0x1001ed605\nmov     esi, eax                                                       ; +0x28, 0x1001ed608\npop     rbp                                                            ; +0x2a, 0x1001ed60a\njmp     GJBaseGameLayer__swapBackground                                ; +0x2b, 0x1001ed60b\nmov     eax, [rdi+72Ch]                                                ; +0x30, 0x1001ed610\nmov     rdi, rsi                                                       ; +0x36, 0x1001ed616\nmov     esi, eax                                                       ; +0x39, 0x1001ed619\npop     rbp                                                            ; +0x3b, 0x1001ed61b\njmp     GJBaseGameLayer__swapGround                                    ; +0x3c, 0x1001ed61c\nmov     eax, [rdi+72Ch]                                                ; +0x41, 0x1001ed621\nmov     rdi, rsi                                                       ; +0x47, 0x1001ed627\nmov     esi, eax                                                       ; +0x4a, 0x1001ed62a\npop     rbp                                                            ; +0x4c, 0x1001ed62c\njmp     GJBaseGameLayer__swapMiddleground                              ; +0x4d, 0x1001ed62d\npop     rbp                                                            ; +0x52, 0x1001ed632\nretn                                                                   ; +0x53, 0x1001ed633", "xrefs": ["<???> @ 0x1008d6030"], "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"}