; ; GJBaseGameLayer::activatePlayerControlTrigger from 0x1001ea3a8 to 0x1001ea504 (348 bytes) ; ; 1 xrefs: ; > EffectGameObject::triggerObject @ 0x1003858cc ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; STP X26, X25, [SP,#-0x10+var_40]! ; +0x0, 0x1001ea3a8 STP X24, X23, [SP,#0x40+var_30] ; +0x4, 0x1001ea3ac STP X22, X21, [SP,#0x40+var_20] ; +0x8, 0x1001ea3b0 STP X20, X19, [SP,#0x40+var_10] ; +0xc, 0x1001ea3b4 STP X29, X30, [SP,#0x40+var_s0] ; +0x10, 0x1001ea3b8 ADD X29, SP, #0x40 ; +0x14, 0x1001ea3bc MOV X20, X1 ; +0x18, 0x1001ea3c0 MOV X19, X0 ; +0x1c, 0x1001ea3c4 LDRB W25, [X1,#0x694] ; +0x20, 0x1001ea3c8 LDRB W23, [X1,#0x72C] ; +0x24, 0x1001ea3cc LDRB W22, [X1,#0x72D] ; +0x28, 0x1001ea3d0 LDRB W21, [X1,#0x72E] ; +0x2c, 0x1001ea3d4 LDRB W24, [X1,#0x695] ; +0x30, 0x1001ea3d8 TBNZ W25, #0, loc_1001EA3E4 ; +0x34, 0x1001ea3dc TBNZ W24, #0, loc_1001EA464 ; +0x38, 0x1001ea3e0 CBZ W23, loc_1001EA3F4 ; +0x3c, 0x1001ea3e4 LDR X0, [X19,#0xCC8] ; +0x40, 0x1001ea3e8 MOV W1, #1 ; +0x44, 0x1001ea3ec BL PlayerObject__releaseButton ; +0x48, 0x1001ea3f0 MOV W8, #0x2F5E ; +0x4c, 0x1001ea3f4 LDRB W8, [X19,X8] ; +0x50, 0x1001ea3f8 CMP W8, #1 ; +0x54, 0x1001ea3fc CCMP W22, #0, #4, EQ ; +0x58, 0x1001ea400 B.EQ loc_1001EA42C ; +0x5c, 0x1001ea404 LDR X0, [X19,#0xCC8] ; +0x60, 0x1001ea408 MOV W1, #5 ; +0x64, 0x1001ea40c BL PlayerObject__releaseButton ; +0x68, 0x1001ea410 LDR X0, [X19,#0xCC8] ; +0x6c, 0x1001ea414 MOV W1, #2 ; +0x70, 0x1001ea418 BL PlayerObject__releaseButton ; +0x74, 0x1001ea41c LDR X0, [X19,#0xCC8] ; +0x78, 0x1001ea420 MOV W1, #3 ; +0x7c, 0x1001ea424 BL PlayerObject__releaseButton ; +0x80, 0x1001ea428 EOR W25, W25, #1 ; +0x84, 0x1001ea42c CBZ W21, loc_1001EA444 ; +0x88, 0x1001ea430 LDR X0, [X19,#0xCC8] ; +0x8c, 0x1001ea434 MOV W1, #1 ; +0x90, 0x1001ea438 MOV W2, #0 ; +0x94, 0x1001ea43c BL PlayerObject__stopRotation ; +0x98, 0x1001ea440 ORR W24, W25, W24 ; +0x9c, 0x1001ea444 LDRB W8, [X20,#0x72F] ; +0xa0, 0x1001ea448 CMP W8, #1 ; +0xa4, 0x1001ea44c B.NE loc_1001EA460 ; +0xa8, 0x1001ea450 LDR X0, [X19,#0xCC8] ; +0xac, 0x1001ea454 MOV W1, #0x21F ; +0xb0, 0x1001ea458 BL PlayerObject__handlePlayerCommand ; +0xb4, 0x1001ea45c TBZ W24, #0, loc_1001EA4EC ; +0xb8, 0x1001ea460 CBZ W23, loc_1001EA474 ; +0xbc, 0x1001ea464 LDR X0, [X19,#0xCD0] ; +0xc0, 0x1001ea468 MOV W1, #1 ; +0xc4, 0x1001ea46c BL PlayerObject__releaseButton ; +0xc8, 0x1001ea470 MOV W8, #0x2F5E ; +0xcc, 0x1001ea474 LDRB W8, [X19,X8] ; +0xd0, 0x1001ea478 CMP W8, #1 ; +0xd4, 0x1001ea47c CCMP W22, #0, #4, EQ ; +0xd8, 0x1001ea480 B.EQ loc_1001EA4AC ; +0xdc, 0x1001ea484 LDR X0, [X19,#0xCD0] ; +0xe0, 0x1001ea488 MOV W1, #5 ; +0xe4, 0x1001ea48c BL PlayerObject__releaseButton ; +0xe8, 0x1001ea490 LDR X0, [X19,#0xCD0] ; +0xec, 0x1001ea494 MOV W1, #2 ; +0xf0, 0x1001ea498 BL PlayerObject__releaseButton ; +0xf4, 0x1001ea49c LDR X0, [X19,#0xCD0] ; +0xf8, 0x1001ea4a0 MOV W1, #3 ; +0xfc, 0x1001ea4a4 BL PlayerObject__releaseButton ; +0x100, 0x1001ea4a8 CBZ W21, loc_1001EA4C0 ; +0x104, 0x1001ea4ac LDR X0, [X19,#0xCD0] ; +0x108, 0x1001ea4b0 MOV W1, #1 ; +0x10c, 0x1001ea4b4 MOV W2, #0 ; +0x110, 0x1001ea4b8 BL PlayerObject__stopRotation ; +0x114, 0x1001ea4bc LDRB W8, [X20,#0x72F] ; +0x118, 0x1001ea4c0 CMP W8, #1 ; +0x11c, 0x1001ea4c4 B.NE loc_1001EA4EC ; +0x120, 0x1001ea4c8 LDR X0, [X19,#0xCD0] ; +0x124, 0x1001ea4cc MOV W1, #0x21F ; +0x128, 0x1001ea4d0 LDP X29, X30, [SP,#0x40+var_s0] ; +0x12c, 0x1001ea4d4 LDP X20, X19, [SP,#0x40+var_10] ; +0x130, 0x1001ea4d8 LDP X22, X21, [SP,#0x40+var_20] ; +0x134, 0x1001ea4dc LDP X24, X23, [SP,#0x40+var_30] ; +0x138, 0x1001ea4e0 LDP X26, X25, [SP+0x40+var_40],#0x50 ; +0x13c, 0x1001ea4e4 B PlayerObject__handlePlayerCommand ; +0x140, 0x1001ea4e8 LDP X29, X30, [SP,#0x40+var_s0] ; +0x144, 0x1001ea4ec LDP X20, X19, [SP,#0x40+var_10] ; +0x148, 0x1001ea4f0 LDP X22, X21, [SP,#0x40+var_20] ; +0x14c, 0x1001ea4f4 LDP X24, X23, [SP,#0x40+var_30] ; +0x150, 0x1001ea4f8 LDP X26, X25, [SP+0x40+var_40],#0x50 ; +0x154, 0x1001ea4fc RET ; +0x158, 0x1001ea500