; ; CreateParticlePopup::colorSelectClosed from 0x531a7c to 0x531c80 (516 bytes) ; ; 1 xrefs: ; > `non-virtual thunk to'CreateParticlePopup::colorSelectClosed @ 0x531c8c ; ; 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 ; PUSH {R4-R6,LR} ; +0x0, 0x531a7c MOV R4, R0 ; +0x2, 0x531a7e LDR R6, =(__stack_chk_guard_ptr - 0x531A8E) ; +0x4, 0x531a80 MOV R0, R1 ; +0x6, 0x531a82 VPUSH {D8} ; +0x8, 0x531a84 MOV R5, R1 ; +0xc, 0x531a88 ADD R6, PC; __stack_chk_guard_ptr ; +0xe, 0x531a8a LDR R6, [R6]; __stack_chk_guard ; +0x10, 0x531a8c LDR R3, [R6] ; +0x12, 0x531a8e SUB SP, SP, #0x10 ; +0x14, 0x531a90 STR R3, [SP,#0x10+var_4] ; +0x16, 0x531a92 LDR R3, [R1] ; +0x18, 0x531a94 LDR R3, [R3,#0x20] ; +0x1a, 0x531a96 BLX R3 ; +0x1c, 0x531a98 LDR.W R3, [R5,#0x2D8] ; +0x1e, 0x531a9a STRH.W R3, [SP,#0x10+var_C] ; +0x22, 0x531a9e LSRS R3, R3, #0x10 ; +0x26, 0x531aa2 STRB.W R3, [SP,#0x10+var_A] ; +0x28, 0x531aa4 CBNZ R0, loc_531AF6 ; +0x2c, 0x531aa8 LDR.W R0, [R4,#0x238] ; +0x2e, 0x531aaa ADD R5, SP, #0x10+var_C ; +0x32, 0x531aae MOV R1, R5 ; +0x34, 0x531ab0 LDR R3, [R0] ; +0x36, 0x531ab2 LDR.W R3, [R3,#0x258] ; +0x38, 0x531ab4 BLX R3 ; +0x3c, 0x531ab8 LDR.W R0, [R4,#0x270] ; +0x3e, 0x531aba MOV R1, R5 ; +0x42, 0x531abe LDR R3, [R0] ; +0x44, 0x531ac0 LDR.W R3, [R3,#0x1D8] ; +0x46, 0x531ac2 BLX R3 ; +0x4a, 0x531ac6 LDR.W R0, [R4,#0x28C] ; +0x4c, 0x531ac8 LDRB.W R2, [SP,#0x10+var_C+1] ; +0x50, 0x531acc LDRB.W R1, [SP,#0x10+var_C] ; +0x54, 0x531ad0 LDR R3, [R0] ; +0x58, 0x531ad4 MVNS R2, R2 ; +0x5a, 0x531ad6 STRB.W R2, [SP,#0x10+var_8+1] ; +0x5c, 0x531ad8 MVNS R1, R1 ; +0x60, 0x531adc STRB.W R1, [SP,#0x10+var_8] ; +0x62, 0x531ade LDR.W R4, [R3,#0x210] ; +0x66, 0x531ae2 ADD R1, SP, #0x10+var_8 ; +0x6a, 0x531ae6 LDRB.W R3, [SP,#0x10+var_A] ; +0x6c, 0x531ae8 MVNS R3, R3 ; +0x70, 0x531aec STRB.W R3, [SP,#0x10+var_6] ; +0x72, 0x531aee BLX R4 ; +0x76, 0x531af2 B loc_531C6C ; +0x78, 0x531af4 CMP R0, #1 ; +0x7a, 0x531af6 BNE loc_531BCA ; +0x7c, 0x531af8 LDRB.W R3, [SP,#0x10+var_C+1] ; +0x7e, 0x531afa ADD R5, SP, #0x10+var_s0 ; +0x82, 0x531afe VLDR S15, =255.0 ; +0x84, 0x531b00 MOV R0, R4 ; +0x88, 0x531b04 MOVS R2, #0x1A ; +0x8a, 0x531b06 VMOV S17, R3 ; +0x8c, 0x531b08 LDRB.W R3, [SP,#0x10+var_A] ; +0x90, 0x531b0c VCVT.F32.S32 S17, S17 ; +0x94, 0x531b10 VMOV S16, R3 ; +0x98, 0x531b14 LDRB.W R3, [R5,#-0xC]! ; +0x9c, 0x531b18 VMOV S14, R3 ; +0xa0, 0x531b1c MOVS R3, #0 ; +0xa4, 0x531b20 VCVT.F32.S32 S14, S14 ; +0xa6, 0x531b22 VCVT.F32.S32 S16, S16 ; +0xaa, 0x531b26 VDIV.F32 S17, S17, S15 ; +0xae, 0x531b2a VDIV.F32 S16, S16, S15 ; +0xb2, 0x531b2e VDIV.F32 S15, S14, S15 ; +0xb6, 0x531b32 VMOV R1, S15 ; +0xba, 0x531b36 BL _ZN19CreateParticlePopup26updateParticleValueForTypeEf15gjParticleValuePN7cocos2d20CCParticleSystemQuadE; CreateParticlePopup::updateParticleValueForType(float,gjParticleValue,cocos2d::CCParticleSystemQuad *) ; +0xbe, 0x531b3a MOV R0, R4 ; +0xc2, 0x531b3e VMOV R1, S17 ; +0xc4, 0x531b40 MOVS R2, #0x1C ; +0xc8, 0x531b44 MOVS R3, #0 ; +0xca, 0x531b46 BL _ZN19CreateParticlePopup26updateParticleValueForTypeEf15gjParticleValuePN7cocos2d20CCParticleSystemQuadE; CreateParticlePopup::updateParticleValueForType(float,gjParticleValue,cocos2d::CCParticleSystemQuad *) ; +0xcc, 0x531b48 MOVS R2, #0x1E ; +0xd0, 0x531b4c MOVS R3, #0 ; +0xd2, 0x531b4e MOV R0, R4 ; +0xd4, 0x531b50 VMOV R1, S16 ; +0xd6, 0x531b52 BL _ZN19CreateParticlePopup26updateParticleValueForTypeEf15gjParticleValuePN7cocos2d20CCParticleSystemQuadE; CreateParticlePopup::updateParticleValueForType(float,gjParticleValue,cocos2d::CCParticleSystemQuad *) ; +0xda, 0x531b56 MOV R0, R4 ; +0xde, 0x531b5a MOVS R1, #0x1A ; +0xe0, 0x531b5c BL _ZN19CreateParticlePopup28updateInputNodeStringForTypeE15gjParticleValue; CreateParticlePopup::updateInputNodeStringForType(gjParticleValue) ; +0xe2, 0x531b5e MOV R0, R4 ; +0xe6, 0x531b62 MOVS R1, #0x1C ; +0xe8, 0x531b64 BL _ZN19CreateParticlePopup28updateInputNodeStringForTypeE15gjParticleValue; CreateParticlePopup::updateInputNodeStringForType(gjParticleValue) ; +0xea, 0x531b66 MOV R0, R4 ; +0xee, 0x531b6a MOVS R1, #0x1E ; +0xf0, 0x531b6c BL _ZN19CreateParticlePopup28updateInputNodeStringForTypeE15gjParticleValue; CreateParticlePopup::updateInputNodeStringForType(gjParticleValue) ; +0xf2, 0x531b6e MOV R0, R4 ; +0xf6, 0x531b72 MOVS R1, #0x1A ; +0xf8, 0x531b74 BL _ZN19CreateParticlePopup19updateSliderForTypeE15gjParticleValue; CreateParticlePopup::updateSliderForType(gjParticleValue) ; +0xfa, 0x531b76 MOV R0, R4 ; +0xfe, 0x531b7a MOVS R1, #0x1C ; +0x100, 0x531b7c BL _ZN19CreateParticlePopup19updateSliderForTypeE15gjParticleValue; CreateParticlePopup::updateSliderForType(gjParticleValue) ; +0x102, 0x531b7e MOV R0, R4 ; +0x106, 0x531b82 MOVS R1, #0x1E ; +0x108, 0x531b84 BL _ZN19CreateParticlePopup19updateSliderForTypeE15gjParticleValue; CreateParticlePopup::updateSliderForType(gjParticleValue) ; +0x10a, 0x531b86 LDR.W R0, [R4,#0x274] ; +0x10e, 0x531b8a MOV R1, R5 ; +0x112, 0x531b8e LDR R3, [R0] ; +0x114, 0x531b90 LDR.W R3, [R3,#0x1D8] ; +0x116, 0x531b92 BLX R3 ; +0x11a, 0x531b96 LDR.W R5, [R4,#0x20C] ; +0x11c, 0x531b98 LDR R3, [R5] ; +0x120, 0x531b9c MOV R0, R5 ; +0x122, 0x531b9e ADD.W R5, R5, #0x264 ; +0x124, 0x531ba0 LDR.W R3, [R3,#0x29C] ; +0x128, 0x531ba4 BLX R3 ; +0x12c, 0x531ba8 LDR.W R4, [R4,#0x20C] ; +0x12e, 0x531baa LDM R0, {R0-R3} ; +0x132, 0x531bae STM.W R5, {R0-R3} ; +0x134, 0x531bb0 MOV R0, R4 ; +0x138, 0x531bb4 LDR R3, [R4] ; +0x13a, 0x531bb6 ADD.W R4, R4, #0x274 ; +0x13c, 0x531bb8 LDR.W R3, [R3,#0x2AC] ; +0x140, 0x531bbc BLX R3 ; +0x144, 0x531bc0 LDM R0, {R0-R3} ; +0x146, 0x531bc2 STM.W R4, {R0-R3} ; +0x148, 0x531bc4 B loc_531C6C ; +0x14c, 0x531bc8 CMP R0, #2 ; +0x14e, 0x531bca BNE loc_531C6C ; +0x150, 0x531bcc LDRB.W R3, [SP,#0x10+var_C+1] ; +0x152, 0x531bce ADD R5, SP, #0x10+var_s0 ; +0x156, 0x531bd2 VLDR S15, =255.0 ; +0x158, 0x531bd4 MOV R0, R4 ; +0x15c, 0x531bd8 MOVS R2, #0x22 ; '"' ; +0x15e, 0x531bda VMOV S17, R3 ; +0x160, 0x531bdc LDRB.W R3, [SP,#0x10+var_A] ; +0x164, 0x531be0 VCVT.F32.S32 S17, S17 ; +0x168, 0x531be4 VMOV S16, R3 ; +0x16c, 0x531be8 LDRB.W R3, [R5,#-0xC]! ; +0x170, 0x531bec VMOV S14, R3 ; +0x174, 0x531bf0 MOVS R3, #0 ; +0x178, 0x531bf4 VCVT.F32.S32 S14, S14 ; +0x17a, 0x531bf6 VCVT.F32.S32 S16, S16 ; +0x17e, 0x531bfa VDIV.F32 S17, S17, S15 ; +0x182, 0x531bfe VDIV.F32 S16, S16, S15 ; +0x186, 0x531c02 VDIV.F32 S15, S14, S15 ; +0x18a, 0x531c06 VMOV R1, S15 ; +0x18e, 0x531c0a BL _ZN19CreateParticlePopup26updateParticleValueForTypeEf15gjParticleValuePN7cocos2d20CCParticleSystemQuadE; CreateParticlePopup::updateParticleValueForType(float,gjParticleValue,cocos2d::CCParticleSystemQuad *) ; +0x192, 0x531c0e MOV R0, R4 ; +0x196, 0x531c12 VMOV R1, S17 ; +0x198, 0x531c14 MOVS R2, #0x24 ; '$' ; +0x19c, 0x531c18 MOVS R3, #0 ; +0x19e, 0x531c1a BL _ZN19CreateParticlePopup26updateParticleValueForTypeEf15gjParticleValuePN7cocos2d20CCParticleSystemQuadE; CreateParticlePopup::updateParticleValueForType(float,gjParticleValue,cocos2d::CCParticleSystemQuad *) ; +0x1a0, 0x531c1c MOVS R3, #0 ; +0x1a4, 0x531c20 MOVS R2, #0x26 ; '&' ; +0x1a6, 0x531c22 MOV R0, R4 ; +0x1a8, 0x531c24 VMOV R1, S16 ; +0x1aa, 0x531c26 BL _ZN19CreateParticlePopup26updateParticleValueForTypeEf15gjParticleValuePN7cocos2d20CCParticleSystemQuadE; CreateParticlePopup::updateParticleValueForType(float,gjParticleValue,cocos2d::CCParticleSystemQuad *) ; +0x1ae, 0x531c2a MOV R0, R4 ; +0x1b2, 0x531c2e MOVS R1, #0x22 ; '"' ; +0x1b4, 0x531c30 BL _ZN19CreateParticlePopup28updateInputNodeStringForTypeE15gjParticleValue; CreateParticlePopup::updateInputNodeStringForType(gjParticleValue) ; +0x1b6, 0x531c32 MOV R0, R4 ; +0x1ba, 0x531c36 MOVS R1, #0x24 ; '$' ; +0x1bc, 0x531c38 BL _ZN19CreateParticlePopup28updateInputNodeStringForTypeE15gjParticleValue; CreateParticlePopup::updateInputNodeStringForType(gjParticleValue) ; +0x1be, 0x531c3a MOV R0, R4 ; +0x1c2, 0x531c3e MOVS R1, #0x26 ; '&' ; +0x1c4, 0x531c40 BL _ZN19CreateParticlePopup28updateInputNodeStringForTypeE15gjParticleValue; CreateParticlePopup::updateInputNodeStringForType(gjParticleValue) ; +0x1c6, 0x531c42 MOV R0, R4 ; +0x1ca, 0x531c46 MOVS R1, #0x22 ; '"' ; +0x1cc, 0x531c48 BL _ZN19CreateParticlePopup19updateSliderForTypeE15gjParticleValue; CreateParticlePopup::updateSliderForType(gjParticleValue) ; +0x1ce, 0x531c4a MOV R0, R4 ; +0x1d2, 0x531c4e MOVS R1, #0x24 ; '$' ; +0x1d4, 0x531c50 BL _ZN19CreateParticlePopup19updateSliderForTypeE15gjParticleValue; CreateParticlePopup::updateSliderForType(gjParticleValue) ; +0x1d6, 0x531c52 MOV R0, R4 ; +0x1da, 0x531c56 MOVS R1, #0x26 ; '&' ; +0x1dc, 0x531c58 BL _ZN19CreateParticlePopup19updateSliderForTypeE15gjParticleValue; CreateParticlePopup::updateSliderForType(gjParticleValue) ; +0x1de, 0x531c5a LDR.W R0, [R4,#0x278] ; +0x1e2, 0x531c5e MOV R1, R5 ; +0x1e6, 0x531c62 LDR R3, [R0] ; +0x1e8, 0x531c64 LDR.W R3, [R3,#0x1D8] ; +0x1ea, 0x531c66 BLX R3 ; +0x1ee, 0x531c6a LDR R2, [SP,#0x10+var_4] ; +0x1f0, 0x531c6c LDR R3, [R6] ; +0x1f2, 0x531c6e CMP R2, R3 ; +0x1f4, 0x531c70 BEQ loc_531C78 ; +0x1f6, 0x531c72 BLX __stack_chk_fail ; +0x1f8, 0x531c74 ADD SP, SP, #0x10 ; +0x1fc, 0x531c78 VPOP {D8} ; +0x1fe, 0x531c7a POP {R4-R6,PC} ; +0x202, 0x531c7e