; ; CreateParticlePopup::onDuplicateColor from 0x66654c to 0x666644 (248 bytes) ; ; 0 xrefs: ; ; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! ; ; 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:55:40 +0000 ; PUSH {R0-R2,R4,R5,LR} ; +0x0, 0x66654c MOV R4, R0 ; +0x2, 0x66654e LDR R5, =(__stack_chk_guard_ptr - 0x66655A) ; +0x4, 0x666550 LDR.W R0, [R0,#0x220] ; +0x6, 0x666552 ADD R5, PC; __stack_chk_guard_ptr ; +0xa, 0x666556 LDR R5, [R5]; __stack_chk_guard ; +0xc, 0x666558 LDR R3, [R5] ; +0xe, 0x66655a STR R3, [SP,#0xC+var_8] ; +0x10, 0x66655c LDR R3, [R0] ; +0x12, 0x66655e LDR.W R3, [R3,#0x2A4] ; +0x14, 0x666560 BLX R3 ; +0x18, 0x666564 MOVS R2, #0x22 ; '"' ; +0x1a, 0x666566 MOV R3, R0 ; +0x1c, 0x666568 MOV R0, R4 ; +0x1e, 0x66656a LDR R1, [R3] ; +0x20, 0x66656c MOVS R3, #0 ; +0x22, 0x66656e BL _ZN19CreateParticlePopup26updateParticleValueForTypeEf15gjParticleValuePN7cocos2d20CCParticleSystemQuadE; CreateParticlePopup::updateParticleValueForType(float,gjParticleValue,cocos2d::CCParticleSystemQuad *) ; +0x24, 0x666570 LDR.W R0, [R4,#0x220] ; +0x28, 0x666574 LDR R3, [R0] ; +0x2c, 0x666578 LDR.W R3, [R3,#0x2A4] ; +0x2e, 0x66657a BLX R3 ; +0x32, 0x66657e MOVS R2, #0x24 ; '$' ; +0x34, 0x666580 MOV R3, R0 ; +0x36, 0x666582 MOV R0, R4 ; +0x38, 0x666584 LDR R1, [R3,#4] ; +0x3a, 0x666586 MOVS R3, #0 ; +0x3c, 0x666588 BL _ZN19CreateParticlePopup26updateParticleValueForTypeEf15gjParticleValuePN7cocos2d20CCParticleSystemQuadE; CreateParticlePopup::updateParticleValueForType(float,gjParticleValue,cocos2d::CCParticleSystemQuad *) ; +0x3e, 0x66658a LDR.W R0, [R4,#0x220] ; +0x42, 0x66658e LDR R3, [R0] ; +0x46, 0x666592 LDR.W R3, [R3,#0x2A4] ; +0x48, 0x666594 BLX R3 ; +0x4c, 0x666598 MOVS R2, #0x26 ; '&' ; +0x4e, 0x66659a MOV R3, R0 ; +0x50, 0x66659c MOV R0, R4 ; +0x52, 0x66659e LDR R1, [R3,#8] ; +0x54, 0x6665a0 MOVS R3, #0 ; +0x56, 0x6665a2 BL _ZN19CreateParticlePopup26updateParticleValueForTypeEf15gjParticleValuePN7cocos2d20CCParticleSystemQuadE; CreateParticlePopup::updateParticleValueForType(float,gjParticleValue,cocos2d::CCParticleSystemQuad *) ; +0x58, 0x6665a4 MOV R0, R4 ; +0x5c, 0x6665a8 MOVS R1, #0x22 ; '"' ; +0x5e, 0x6665aa BL _ZN19CreateParticlePopup28updateInputNodeStringForTypeE15gjParticleValue; CreateParticlePopup::updateInputNodeStringForType(gjParticleValue) ; +0x60, 0x6665ac MOV R0, R4 ; +0x64, 0x6665b0 MOVS R1, #0x24 ; '$' ; +0x66, 0x6665b2 BL _ZN19CreateParticlePopup28updateInputNodeStringForTypeE15gjParticleValue; CreateParticlePopup::updateInputNodeStringForType(gjParticleValue) ; +0x68, 0x6665b4 MOV R0, R4 ; +0x6c, 0x6665b8 MOVS R1, #0x26 ; '&' ; +0x6e, 0x6665ba BL _ZN19CreateParticlePopup28updateInputNodeStringForTypeE15gjParticleValue; CreateParticlePopup::updateInputNodeStringForType(gjParticleValue) ; +0x70, 0x6665bc MOV R0, R4 ; +0x74, 0x6665c0 MOVS R1, #0x22 ; '"' ; +0x76, 0x6665c2 BL _ZN19CreateParticlePopup19updateSliderForTypeE15gjParticleValue; CreateParticlePopup::updateSliderForType(gjParticleValue) ; +0x78, 0x6665c4 MOV R0, R4 ; +0x7c, 0x6665c8 MOVS R1, #0x24 ; '$' ; +0x7e, 0x6665ca BL _ZN19CreateParticlePopup19updateSliderForTypeE15gjParticleValue; CreateParticlePopup::updateSliderForType(gjParticleValue) ; +0x80, 0x6665cc MOV R0, R4 ; +0x84, 0x6665d0 MOVS R1, #0x26 ; '&' ; +0x86, 0x6665d2 BL _ZN19CreateParticlePopup19updateSliderForTypeE15gjParticleValue; CreateParticlePopup::updateSliderForType(gjParticleValue) ; +0x88, 0x6665d4 LDR.W R0, [R4,#0x220] ; +0x8c, 0x6665d8 LDR R3, [R0] ; +0x90, 0x6665dc LDR.W R3, [R3,#0x2A4] ; +0x92, 0x6665de BLX R3 ; +0x96, 0x6665e2 VLDR S14, =255.0 ; +0x98, 0x6665e4 VLDR S15, [R0,#4] ; +0x9c, 0x6665e8 MOV R1, R0 ; +0xa0, 0x6665ec VMUL.F32 S15, S15, S14 ; +0xa2, 0x6665ee VCVT.U32.F32 S15, S15 ; +0xa6, 0x6665f2 VMOV R2, S15 ; +0xaa, 0x6665f6 VLDR S15, [R0,#8] ; +0xae, 0x6665fa LDR.W R0, [R4,#0x2A0] ; +0xb2, 0x6665fe VMUL.F32 S15, S15, S14 ; +0xb6, 0x666602 LDR R4, [R0] ; +0xba, 0x666606 LDR.W R4, [R4,#0x1E0] ; +0xbc, 0x666608 VCVT.U32.F32 S15, S15 ; +0xc0, 0x66660c VMOV R3, S15 ; +0xc4, 0x666610 VLDR S15, [R1] ; +0xc8, 0x666614 STRB.W R2, [SP,#0xC+var_B] ; +0xcc, 0x666618 VMUL.F32 S15, S15, S14 ; +0xd0, 0x66661c VCVT.U32.F32 S15, S15 ; +0xd4, 0x666620 STRB.W R3, [SP,#0xC+var_A] ; +0xd8, 0x666624 VMOV R1, S15 ; +0xdc, 0x666628 STRB.W R1, [SP,#0xC+var_C] ; +0xe0, 0x66662c MOV R1, SP ; +0xe4, 0x666630 BLX R4 ; +0xe6, 0x666632 LDR R2, [SP,#0xC+var_8] ; +0xe8, 0x666634 LDR R3, [R5] ; +0xea, 0x666636 CMP R2, R3 ; +0xec, 0x666638 BEQ loc_666640 ; +0xee, 0x66663a BLX __stack_chk_fail ; +0xf0, 0x66663c ADD SP, SP, #0xC ; +0xf4, 0x666640 POP {R4,R5,PC} ; +0xf6, 0x666642