; ; CreateParticlePopup::onDuplicateColor from 0x9c40a8 to 0x9c420c (356 bytes) ; ; 3 xrefs: ; > @ 0xc6c78 ; > CreateParticlePopup::init @ 0x9c6a1c ; > @ 0x122ee80 ; ; 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 X29, X30, [SP,#var_30]! ; +0x0, 0x9c40a8 MOV X29, SP ; +0x4, 0x9c40ac STP X19, X20, [SP,#0x30+var_20] ; +0x8, 0x9c40b0 LDR X2, [X0,#0x2B0] ; +0xc, 0x9c40b4 ADRP X20, #__stack_chk_guard_ptr@PAGE ; +0x10, 0x9c40b8 MOV X19, X0 ; +0x14, 0x9c40bc MOV X0, X2 ; +0x18, 0x9c40c0 LDR X20, [X20,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x1c, 0x9c40c4 LDR X1, [X2] ; +0x20, 0x9c40c8 LDR X2, [X20] ; +0x24, 0x9c40cc LDR X1, [X1,#0x538] ; +0x28, 0x9c40d0 STR X2, [X29,#0x30+var_8] ; +0x2c, 0x9c40d4 BLR X1 ; +0x30, 0x9c40d8 LDR S0, [X0] ; +0x34, 0x9c40dc MOV X2, #0 ; +0x38, 0x9c40e0 MOV W1, #0x22 ; '"' ; +0x3c, 0x9c40e4 MOV X0, X19 ; +0x40, 0x9c40e8 BL _ZN19CreateParticlePopup26updateParticleValueForTypeEf15gjParticleValuePN7cocos2d20CCParticleSystemQuadE; CreateParticlePopup::updateParticleValueForType(float,gjParticleValue,cocos2d::CCParticleSystemQuad *) ; +0x44, 0x9c40ec LDR X1, [X19,#0x2B0] ; +0x48, 0x9c40f0 MOV X0, X1 ; +0x4c, 0x9c40f4 LDR X1, [X1] ; +0x50, 0x9c40f8 LDR X1, [X1,#0x538] ; +0x54, 0x9c40fc BLR X1 ; +0x58, 0x9c4100 LDR S0, [X0,#4] ; +0x5c, 0x9c4104 MOV X2, #0 ; +0x60, 0x9c4108 MOV W1, #0x24 ; '$' ; +0x64, 0x9c410c MOV X0, X19 ; +0x68, 0x9c4110 BL _ZN19CreateParticlePopup26updateParticleValueForTypeEf15gjParticleValuePN7cocos2d20CCParticleSystemQuadE; CreateParticlePopup::updateParticleValueForType(float,gjParticleValue,cocos2d::CCParticleSystemQuad *) ; +0x6c, 0x9c4114 LDR X1, [X19,#0x2B0] ; +0x70, 0x9c4118 MOV X0, X1 ; +0x74, 0x9c411c LDR X1, [X1] ; +0x78, 0x9c4120 LDR X1, [X1,#0x538] ; +0x7c, 0x9c4124 BLR X1 ; +0x80, 0x9c4128 LDR S0, [X0,#8] ; +0x84, 0x9c412c MOV X2, #0 ; +0x88, 0x9c4130 MOV W1, #0x26 ; '&' ; +0x8c, 0x9c4134 MOV X0, X19 ; +0x90, 0x9c4138 BL _ZN19CreateParticlePopup26updateParticleValueForTypeEf15gjParticleValuePN7cocos2d20CCParticleSystemQuadE; CreateParticlePopup::updateParticleValueForType(float,gjParticleValue,cocos2d::CCParticleSystemQuad *) ; +0x94, 0x9c413c MOV X0, X19 ; +0x98, 0x9c4140 MOV W1, #0x22 ; '"' ; +0x9c, 0x9c4144 BL _ZN19CreateParticlePopup28updateInputNodeStringForTypeE15gjParticleValue; CreateParticlePopup::updateInputNodeStringForType(gjParticleValue) ; +0xa0, 0x9c4148 MOV X0, X19 ; +0xa4, 0x9c414c MOV W1, #0x24 ; '$' ; +0xa8, 0x9c4150 BL _ZN19CreateParticlePopup28updateInputNodeStringForTypeE15gjParticleValue; CreateParticlePopup::updateInputNodeStringForType(gjParticleValue) ; +0xac, 0x9c4154 MOV X0, X19 ; +0xb0, 0x9c4158 MOV W1, #0x26 ; '&' ; +0xb4, 0x9c415c BL _ZN19CreateParticlePopup28updateInputNodeStringForTypeE15gjParticleValue; CreateParticlePopup::updateInputNodeStringForType(gjParticleValue) ; +0xb8, 0x9c4160 MOV X0, X19 ; +0xbc, 0x9c4164 MOV W1, #0x22 ; '"' ; +0xc0, 0x9c4168 BL _ZN19CreateParticlePopup19updateSliderForTypeE15gjParticleValue; CreateParticlePopup::updateSliderForType(gjParticleValue) ; +0xc4, 0x9c416c MOV X0, X19 ; +0xc8, 0x9c4170 MOV W1, #0x24 ; '$' ; +0xcc, 0x9c4174 BL _ZN19CreateParticlePopup19updateSliderForTypeE15gjParticleValue; CreateParticlePopup::updateSliderForType(gjParticleValue) ; +0xd0, 0x9c4178 MOV X0, X19 ; +0xd4, 0x9c417c MOV W1, #0x26 ; '&' ; +0xd8, 0x9c4180 BL _ZN19CreateParticlePopup19updateSliderForTypeE15gjParticleValue; CreateParticlePopup::updateSliderForType(gjParticleValue) ; +0xdc, 0x9c4184 LDR X1, [X19,#0x2B0] ; +0xe0, 0x9c4188 MOV X0, X1 ; +0xe4, 0x9c418c LDR X1, [X1] ; +0xe8, 0x9c4190 LDR X1, [X1,#0x538] ; +0xec, 0x9c4194 BLR X1 ; +0xf0, 0x9c4198 MOV X2, X0 ; +0xf4, 0x9c419c LDR S0, [X0] ; +0xf8, 0x9c41a0 LDR X3, [X19,#0x378] ; +0xfc, 0x9c41a4 LDR S3, =0x437F0000 ; +0x100, 0x9c41a8 ADD X1, X29, #0x30+var_10 ; +0x104, 0x9c41ac LDR S2, [X0,#4] ; +0x108, 0x9c41b0 MOV X0, X3 ; +0x10c, 0x9c41b4 LDR S1, [X2,#8] ; +0x110, 0x9c41b8 LDR X2, [X3] ; +0x114, 0x9c41bc FMUL S2, S2, S3 ; +0x118, 0x9c41c0 FMUL S1, S1, S3 ; +0x11c, 0x9c41c4 FMUL S0, S0, S3 ; +0x120, 0x9c41c8 LDR X5, [X2,#0x3B0] ; +0x124, 0x9c41cc FCVTZU W4, S2 ; +0x128, 0x9c41d0 FCVTZU W3, S1 ; +0x12c, 0x9c41d4 FCVTZU W2, S0 ; +0x130, 0x9c41d8 STRB W4, [X29,#0x30+var_F] ; +0x134, 0x9c41dc STRB W3, [X29,#0x30+var_E] ; +0x138, 0x9c41e0 STRB W2, [X29,#0x30+var_10] ; +0x13c, 0x9c41e4 BLR X5 ; +0x140, 0x9c41e8 LDR X1, [X29,#0x30+var_8] ; +0x144, 0x9c41ec LDR X0, [X20] ; +0x148, 0x9c41f0 CMP X1, X0 ; +0x14c, 0x9c41f4 B.NE loc_9C4208 ; +0x150, 0x9c41f8 LDP X19, X20, [SP,#0x30+var_20] ; +0x154, 0x9c41fc LDP X29, X30, [SP+0x30+var_30],#0x30 ; +0x158, 0x9c4200 RET ; +0x15c, 0x9c4204 BL .__stack_chk_fail ; +0x160, 0x9c4208