; ; GJBaseGameLayer::controlGradientTrigger from 0x100289ee0 to 0x100289f3c (92 bytes) ; ; 2 xrefs: ; > GJBaseGameLayer::controlTriggersInGroup @ 0x1002898ec ; > GJBaseGameLayer::controlTriggersWithControlID @ 0x10028a078 ; ; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 11:01:59 +0000 ; CMP W2, #2 ; +0x0, 0x100289ee0 B.NE loc_100289EEC ; +0x4, 0x100289ee4 B GJBaseGameLayer__triggerGradientCommand ; +0x8, 0x100289ee8 STP X20, X19, [SP,#var_20]! ; +0xc, 0x100289eec STP X29, X30, [SP,#0x20+var_10] ; +0x10, 0x100289ef0 ADD X29, SP, #0x20+var_10 ; +0x14, 0x100289ef4 LDR W8, [X1,#0x738] ; +0x18, 0x100289ef8 CMP W8, #0x3E7 ; +0x1c, 0x100289efc MOV W9, #0x3E7 ; +0x20, 0x100289f00 CSEL W8, W8, W9, LT ; +0x24, 0x100289f04 LDR X0, [X0,#0x3070] ; +0x28, 0x100289f08 SXTW X1, W8 ; +0x2c, 0x100289f0c BL cocos2d__CCDictionary__objectForKey_1 ; +0x30, 0x100289f10 CBZ X0, loc_100289F30 ; +0x34, 0x100289f14 MOV X19, X0 ; +0x38, 0x100289f18 LDR X8, [X0] ; +0x3c, 0x100289f1c LDR X8, [X8,#0x210] ; +0x40, 0x100289f20 MOV W1, #0 ; +0x44, 0x100289f24 BLR X8 ; +0x48, 0x100289f28 STR XZR, [X19,#0x248] ; +0x4c, 0x100289f2c LDP X29, X30, [SP,#0x20+var_10] ; +0x50, 0x100289f30 LDP X20, X19, [SP+0x20+var_20],#0x20 ; +0x54, 0x100289f34 RET ; +0x58, 0x100289f38