{"type": "func", "start": 5138656, "end": 5138714, "name": "ArtTriggerGameObject::triggerObject", "pseudocode": "// \n// ArtTriggerGameObject::triggerObject from 0x4e68e0 to 0x4e691a (58 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:51:05 +0000\n// \n\nGJBaseGameLayer *__fastcall ArtTriggerGameObject::triggerObject(int a1, GJBaseGameLayer *a2)\n{\n  GJBaseGameLayer *result; // r0\n  int v4; // r2\n\n  result = a2;\n  v4 = *(_DWORD *)(a1 + 892);\n  switch ( v4 )\n  {\n    case 3030:\n      return (GJBaseGameLayer *)GJBaseGameLayer::swapGround(a2, *(_DWORD *)(a1 + 1648));\n    case 3031:\n      return (GJBaseGameLayer *)GJBaseGameLayer::swapMiddleground(a2, *(_DWORD *)(a1 + 1648));\n    case 3029:\n      return (GJBaseGameLayer *)GJBaseGameLayer::swapBackground(a2, *(_DWORD *)(a1 + 1648));\n  }\n  return result;\n}", "assembly": "; \n; ArtTriggerGameObject::triggerObject from 0x4e68e0 to 0x4e691a (58 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:51:05 +0000\n; \nMOV             R3, R0                                                 ; +0x0, 0x4e68e0\nMOV             R0, R1; this                                           ; +0x2, 0x4e68e2\nLDR.W           R2, [R3,#0x37C]                                        ; +0x4, 0x4e68e4\nMOVW            R1, #0xBD6                                             ; +0x8, 0x4e68e8\nCMP             R2, R1                                                 ; +0xc, 0x4e68ec\nBEQ             loc_4E6908                                             ; +0xe, 0x4e68ee\nMOVW            R1, #0xBD7                                             ; +0x10, 0x4e68f0\nCMP             R2, R1                                                 ; +0x14, 0x4e68f4\nBEQ             loc_4E6910                                             ; +0x16, 0x4e68f6\nMOVW            R1, #0xBD5                                             ; +0x18, 0x4e68f8\nCMP             R2, R1                                                 ; +0x1c, 0x4e68fc\nBNE             locret_4E6918                                          ; +0x1e, 0x4e68fe\nLDR.W           R1, [R3,#0x670]; int                                   ; +0x20, 0x4e6900\nB.W             _ZN15GJBaseGameLayer14swapBackgroundEi; GJBaseGameLayer::swapBackground(int) ; +0x24, 0x4e6904\nLDR.W           R1, [R3,#0x670]; int                                   ; +0x28, 0x4e6908\nB.W             _ZN15GJBaseGameLayer10swapGroundEi; GJBaseGameLayer::swapGround(int) ; +0x2c, 0x4e690c\nLDR.W           R1, [R3,#0x670]; int                                   ; +0x30, 0x4e6910\nB.W             _ZN15GJBaseGameLayer16swapMiddlegroundEi; GJBaseGameLayer::swapMiddleground(int) ; +0x34, 0x4e6914\nBX              LR                                                     ; +0x38, 0x4e6918", "xrefs": [], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "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"}