{"type": "func", "start": 4297654172, "end": 4297654304, "name": "GJBaseGameLayer::triggerAreaEffect", "pseudocode": "// \n// GJBaseGameLayer::triggerAreaEffect from 0x10028ff9c to 0x100290020 (132 bytes)\n// \n// 1 xrefs:\n// > EffectGameObject::triggerObject @ 0x10042b9b0\n// \n// This function is hookable on this platform (idp: arm, 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 11:02:02 +0000\n// \n\n__int64 __fastcall GJBaseGameLayer::triggerAreaEffect(__int64 a1, __int64 a2)\n{\n  int v2; // w8\n  __int64 result; // x0\n\n  v2 = *(_DWORD *)(a2 + 1028);\n  if ( v2 > 3008 )\n  {\n    if ( (unsigned int)(v2 - 3011) >= 5 )\n    {\n      if ( v2 == 3009 || v2 == 3010 )\n        return GJBaseGameLayer::addAreaEffect();\n    }\n    else\n    {\n      return GJBaseGameLayer::triggerAreaEffectAnimation();\n    }\n  }\n  else if ( v2 == 3006 || v2 == 3007 || v2 == 3008 )\n  {\n    return GJBaseGameLayer::addAreaEffect();\n  }\n  return result;\n}", "assembly": "; \n; GJBaseGameLayer::triggerAreaEffect from 0x10028ff9c to 0x100290020 (132 bytes)\n; \n; 1 xrefs:\n; > EffectGameObject::triggerObject @ 0x10042b9b0\n; \n; This function is hookable on this platform (idp: arm, 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 11:02:02 +0000\n; \nLDR             W8, [X1,#0x404]                                        ; +0x0, 0x10028ff9c\nCMP             W8, #0xBC0                                             ; +0x4, 0x10028ffa0\nB.GT            loc_10028FFCC                                          ; +0x8, 0x10028ffa4\nCMP             W8, #0xBBE                                             ; +0xc, 0x10028ffa8\nB.EQ            loc_10028FFF8                                          ; +0x10, 0x10028ffac\nCMP             W8, #0xBBF                                             ; +0x14, 0x10028ffb0\nB.EQ            loc_100290004                                          ; +0x18, 0x10028ffb4\nCMP             W8, #0xBC0                                             ; +0x1c, 0x10028ffb8\nB.NE            locret_100290010                                       ; +0x20, 0x10028ffbc\nADD             X2, X0, #0x5F8                                         ; +0x24, 0x10028ffc0\nMOV             W3, #2                                                 ; +0x28, 0x10028ffc4\nB               GJBaseGameLayer__addAreaEffect                         ; +0x2c, 0x10028ffc8\nSUB             W9, W8, #0xBC3                                         ; +0x30, 0x10028ffcc\nCMP             W9, #5                                                 ; +0x34, 0x10028ffd0\nB.CS            loc_10028FFDC                                          ; +0x38, 0x10028ffd4\nB               GJBaseGameLayer__triggerAreaEffectAnimation            ; +0x3c, 0x10028ffd8\nCMP             W8, #0xBC1                                             ; +0x40, 0x10028ffdc\nB.EQ            loc_100290014                                          ; +0x44, 0x10028ffe0\nCMP             W8, #0xBC2                                             ; +0x48, 0x10028ffe4\nB.NE            locret_100290010                                       ; +0x4c, 0x10028ffe8\nADD             X2, X0, #0x628                                         ; +0x50, 0x10028ffec\nMOV             W3, #4                                                 ; +0x54, 0x10028fff0\nB               GJBaseGameLayer__addAreaEffect                         ; +0x58, 0x10028fff4\nADD             X2, X0, #0x5C8                                         ; +0x5c, 0x10028fff8\nMOV             W3, #0                                                 ; +0x60, 0x10028fffc\nB               GJBaseGameLayer__addAreaEffect                         ; +0x64, 0x100290000\nADD             X2, X0, #0x5E0                                         ; +0x68, 0x100290004\nMOV             W3, #1                                                 ; +0x6c, 0x100290008\nB               GJBaseGameLayer__addAreaEffect                         ; +0x70, 0x10029000c\nRET                                                                    ; +0x74, 0x100290010\nADD             X2, X0, #0x610                                         ; +0x78, 0x100290014\nMOV             W3, #3                                                 ; +0x7c, 0x100290018\nB               GJBaseGameLayer__addAreaEffect                         ; +0x80, 0x10029001c", "xrefs": ["EffectGameObject::triggerObject @ 0x10042b9b0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}