; ; CreateParticlePopup::colorSelectClosed from 0x66664c to 0x666850 (516 bytes) ; ; 1 xrefs: ; > `non-virtual thunk to'CreateParticlePopup::colorSelectClosed @ 0x66685c ; ; 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:41 +0000 ; PUSH {R4-R6,LR} ; +0x0, 0x66664c MOV R4, R0 ; +0x2, 0x66664e VPUSH {D8} ; +0x4, 0x666650 MOV R0, R1 ; +0x8, 0x666654 LDR R6, =(__stack_chk_guard_ptr - 0x66665E) ; +0xa, 0x666656 MOV R5, R1 ; +0xc, 0x666658 ADD R6, PC; __stack_chk_guard_ptr ; +0xe, 0x66665a LDR R6, [R6]; __stack_chk_guard ; +0x10, 0x66665c SUB SP, SP, #0x10 ; +0x12, 0x66665e LDR R3, [R6] ; +0x14, 0x666660 STR R3, [SP,#0x10+var_4] ; +0x16, 0x666662 LDR R3, [R1] ; +0x18, 0x666664 LDR R3, [R3,#0x20] ; +0x1a, 0x666666 BLX R3 ; +0x1c, 0x666668 LDR.W R3, [R5,#0x2F8] ; +0x1e, 0x66666a STRH.W R3, [SP,#0x10+var_C] ; +0x22, 0x66666e LSRS R3, R3, #0x10 ; +0x26, 0x666672 STRB.W R3, [SP,#0x10+var_A] ; +0x28, 0x666674 CBNZ R0, loc_6666C6 ; +0x2c, 0x666678 LDR.W R0, [R4,#0x24C] ; +0x2e, 0x66667a ADD R5, SP, #0x10+var_C ; +0x32, 0x66667e MOV R1, R5 ; +0x34, 0x666680 LDR R3, [R0] ; +0x36, 0x666682 LDR.W R3, [R3,#0x260] ; +0x38, 0x666684 BLX R3 ; +0x3c, 0x666688 LDR.W R0, [R4,#0x298] ; +0x3e, 0x66668a MOV R1, R5 ; +0x42, 0x66668e LDR R3, [R0] ; +0x44, 0x666690 LDR.W R3, [R3,#0x1E0] ; +0x46, 0x666692 BLX R3 ; +0x4a, 0x666696 LDR.W R0, [R4,#0x2B4] ; +0x4c, 0x666698 LDRB.W R2, [SP,#0x10+var_C+1] ; +0x50, 0x66669c LDRB.W R1, [SP,#0x10+var_C] ; +0x54, 0x6666a0 LDR R3, [R0] ; +0x58, 0x6666a4 MVNS R2, R2 ; +0x5a, 0x6666a6 STRB.W R2, [SP,#0x10+var_8+1] ; +0x5c, 0x6666a8 MVNS R1, R1 ; +0x60, 0x6666ac STRB.W R1, [SP,#0x10+var_8] ; +0x62, 0x6666ae LDR.W R4, [R3,#0x218] ; +0x66, 0x6666b2 ADD R1, SP, #0x10+var_8 ; +0x6a, 0x6666b6 LDRB.W R3, [SP,#0x10+var_A] ; +0x6c, 0x6666b8 MVNS R3, R3 ; +0x70, 0x6666bc STRB.W R3, [SP,#0x10+var_6] ; +0x72, 0x6666be BLX R4 ; +0x76, 0x6666c2 B loc_66683C ; +0x78, 0x6666c4 CMP R0, #1 ; +0x7a, 0x6666c6 BNE loc_66679A ; +0x7c, 0x6666c8 LDRB.W R3, [SP,#0x10+var_C+1] ; +0x7e, 0x6666ca ADD R5, SP, #0x10+var_s0 ; +0x82, 0x6666ce VLDR S15, =255.0 ; +0x84, 0x6666d0 MOV R0, R4 ; +0x88, 0x6666d4 MOVS R2, #0x1A ; +0x8a, 0x6666d6 VMOV S17, R3 ; +0x8c, 0x6666d8 LDRB.W R3, [SP,#0x10+var_A] ; +0x90, 0x6666dc VCVT.F32.S32 S17, S17 ; +0x94, 0x6666e0 VMOV S16, R3 ; +0x98, 0x6666e4 LDRB.W R3, [R5,#-0xC]! ; +0x9c, 0x6666e8 VMOV S14, R3 ; +0xa0, 0x6666ec MOVS R3, #0 ; +0xa4, 0x6666f0 VCVT.F32.S32 S14, S14 ; +0xa6, 0x6666f2 VCVT.F32.S32 S16, S16 ; +0xaa, 0x6666f6 VDIV.F32 S17, S17, S15 ; +0xae, 0x6666fa VDIV.F32 S16, S16, S15 ; +0xb2, 0x6666fe VDIV.F32 S15, S14, S15 ; +0xb6, 0x666702 VMOV R1, S15 ; +0xba, 0x666706 BL _ZN19CreateParticlePopup26updateParticleValueForTypeEf15gjParticleValuePN7cocos2d20CCParticleSystemQuadE; CreateParticlePopup::updateParticleValueForType(float,gjParticleValue,cocos2d::CCParticleSystemQuad *) ; +0xbe, 0x66670a MOV R0, R4 ; +0xc2, 0x66670e VMOV R1, S17 ; +0xc4, 0x666710 MOVS R2, #0x1C ; +0xc8, 0x666714 MOVS R3, #0 ; +0xca, 0x666716 BL _ZN19CreateParticlePopup26updateParticleValueForTypeEf15gjParticleValuePN7cocos2d20CCParticleSystemQuadE; CreateParticlePopup::updateParticleValueForType(float,gjParticleValue,cocos2d::CCParticleSystemQuad *) ; +0xcc, 0x666718 MOVS R2, #0x1E ; +0xd0, 0x66671c MOVS R3, #0 ; +0xd2, 0x66671e MOV R0, R4 ; +0xd4, 0x666720 VMOV R1, S16 ; +0xd6, 0x666722 BL _ZN19CreateParticlePopup26updateParticleValueForTypeEf15gjParticleValuePN7cocos2d20CCParticleSystemQuadE; CreateParticlePopup::updateParticleValueForType(float,gjParticleValue,cocos2d::CCParticleSystemQuad *) ; +0xda, 0x666726 MOV R0, R4 ; +0xde, 0x66672a MOVS R1, #0x1A ; +0xe0, 0x66672c BL _ZN19CreateParticlePopup28updateInputNodeStringForTypeE15gjParticleValue; CreateParticlePopup::updateInputNodeStringForType(gjParticleValue) ; +0xe2, 0x66672e MOV R0, R4 ; +0xe6, 0x666732 MOVS R1, #0x1C ; +0xe8, 0x666734 BL _ZN19CreateParticlePopup28updateInputNodeStringForTypeE15gjParticleValue; CreateParticlePopup::updateInputNodeStringForType(gjParticleValue) ; +0xea, 0x666736 MOV R0, R4 ; +0xee, 0x66673a MOVS R1, #0x1E ; +0xf0, 0x66673c BL _ZN19CreateParticlePopup28updateInputNodeStringForTypeE15gjParticleValue; CreateParticlePopup::updateInputNodeStringForType(gjParticleValue) ; +0xf2, 0x66673e MOV R0, R4 ; +0xf6, 0x666742 MOVS R1, #0x1A ; +0xf8, 0x666744 BL _ZN19CreateParticlePopup19updateSliderForTypeE15gjParticleValue; CreateParticlePopup::updateSliderForType(gjParticleValue) ; +0xfa, 0x666746 MOV R0, R4 ; +0xfe, 0x66674a MOVS R1, #0x1C ; +0x100, 0x66674c BL _ZN19CreateParticlePopup19updateSliderForTypeE15gjParticleValue; CreateParticlePopup::updateSliderForType(gjParticleValue) ; +0x102, 0x66674e MOV R0, R4 ; +0x106, 0x666752 MOVS R1, #0x1E ; +0x108, 0x666754 BL _ZN19CreateParticlePopup19updateSliderForTypeE15gjParticleValue; CreateParticlePopup::updateSliderForType(gjParticleValue) ; +0x10a, 0x666756 LDR.W R0, [R4,#0x29C] ; +0x10e, 0x66675a MOV R1, R5 ; +0x112, 0x66675e LDR R3, [R0] ; +0x114, 0x666760 LDR.W R3, [R3,#0x1E0] ; +0x116, 0x666762 BLX R3 ; +0x11a, 0x666766 LDR.W R5, [R4,#0x220] ; +0x11c, 0x666768 LDR R3, [R5] ; +0x120, 0x66676c MOV R0, R5 ; +0x122, 0x66676e ADD.W R5, R5, #0x270 ; +0x124, 0x666770 LDR.W R3, [R3,#0x2A4] ; +0x128, 0x666774 BLX R3 ; +0x12c, 0x666778 LDM R0, {R0-R3} ; +0x12e, 0x66677a STM.W R5, {R0-R3} ; +0x130, 0x66677c LDR.W R4, [R4,#0x220] ; +0x134, 0x666780 LDR R3, [R4] ; +0x138, 0x666784 MOV R0, R4 ; +0x13a, 0x666786 ADD.W R4, R4, #0x280 ; +0x13c, 0x666788 LDR.W R3, [R3,#0x2B4] ; +0x140, 0x66678c BLX R3 ; +0x144, 0x666790 LDM R0, {R0-R3} ; +0x146, 0x666792 STM.W R4, {R0-R3} ; +0x148, 0x666794 B loc_66683C ; +0x14c, 0x666798 CMP R0, #2 ; +0x14e, 0x66679a BNE loc_66683C ; +0x150, 0x66679c LDRB.W R3, [SP,#0x10+var_C+1] ; +0x152, 0x66679e ADD R5, SP, #0x10+var_s0 ; +0x156, 0x6667a2 VLDR S15, =255.0 ; +0x158, 0x6667a4 MOV R0, R4 ; +0x15c, 0x6667a8 MOVS R2, #0x22 ; '"' ; +0x15e, 0x6667aa VMOV S17, R3 ; +0x160, 0x6667ac LDRB.W R3, [SP,#0x10+var_A] ; +0x164, 0x6667b0 VCVT.F32.S32 S17, S17 ; +0x168, 0x6667b4 VMOV S16, R3 ; +0x16c, 0x6667b8 LDRB.W R3, [R5,#-0xC]! ; +0x170, 0x6667bc VMOV S14, R3 ; +0x174, 0x6667c0 MOVS R3, #0 ; +0x178, 0x6667c4 VCVT.F32.S32 S14, S14 ; +0x17a, 0x6667c6 VCVT.F32.S32 S16, S16 ; +0x17e, 0x6667ca VDIV.F32 S17, S17, S15 ; +0x182, 0x6667ce VDIV.F32 S16, S16, S15 ; +0x186, 0x6667d2 VDIV.F32 S15, S14, S15 ; +0x18a, 0x6667d6 VMOV R1, S15 ; +0x18e, 0x6667da BL _ZN19CreateParticlePopup26updateParticleValueForTypeEf15gjParticleValuePN7cocos2d20CCParticleSystemQuadE; CreateParticlePopup::updateParticleValueForType(float,gjParticleValue,cocos2d::CCParticleSystemQuad *) ; +0x192, 0x6667de MOV R0, R4 ; +0x196, 0x6667e2 VMOV R1, S17 ; +0x198, 0x6667e4 MOVS R2, #0x24 ; '$' ; +0x19c, 0x6667e8 MOVS R3, #0 ; +0x19e, 0x6667ea BL _ZN19CreateParticlePopup26updateParticleValueForTypeEf15gjParticleValuePN7cocos2d20CCParticleSystemQuadE; CreateParticlePopup::updateParticleValueForType(float,gjParticleValue,cocos2d::CCParticleSystemQuad *) ; +0x1a0, 0x6667ec MOVS R3, #0 ; +0x1a4, 0x6667f0 MOVS R2, #0x26 ; '&' ; +0x1a6, 0x6667f2 MOV R0, R4 ; +0x1a8, 0x6667f4 VMOV R1, S16 ; +0x1aa, 0x6667f6 BL _ZN19CreateParticlePopup26updateParticleValueForTypeEf15gjParticleValuePN7cocos2d20CCParticleSystemQuadE; CreateParticlePopup::updateParticleValueForType(float,gjParticleValue,cocos2d::CCParticleSystemQuad *) ; +0x1ae, 0x6667fa MOV R0, R4 ; +0x1b2, 0x6667fe MOVS R1, #0x22 ; '"' ; +0x1b4, 0x666800 BL _ZN19CreateParticlePopup28updateInputNodeStringForTypeE15gjParticleValue; CreateParticlePopup::updateInputNodeStringForType(gjParticleValue) ; +0x1b6, 0x666802 MOV R0, R4 ; +0x1ba, 0x666806 MOVS R1, #0x24 ; '$' ; +0x1bc, 0x666808 BL _ZN19CreateParticlePopup28updateInputNodeStringForTypeE15gjParticleValue; CreateParticlePopup::updateInputNodeStringForType(gjParticleValue) ; +0x1be, 0x66680a MOV R0, R4 ; +0x1c2, 0x66680e MOVS R1, #0x26 ; '&' ; +0x1c4, 0x666810 BL _ZN19CreateParticlePopup28updateInputNodeStringForTypeE15gjParticleValue; CreateParticlePopup::updateInputNodeStringForType(gjParticleValue) ; +0x1c6, 0x666812 MOV R0, R4 ; +0x1ca, 0x666816 MOVS R1, #0x22 ; '"' ; +0x1cc, 0x666818 BL _ZN19CreateParticlePopup19updateSliderForTypeE15gjParticleValue; CreateParticlePopup::updateSliderForType(gjParticleValue) ; +0x1ce, 0x66681a MOV R0, R4 ; +0x1d2, 0x66681e MOVS R1, #0x24 ; '$' ; +0x1d4, 0x666820 BL _ZN19CreateParticlePopup19updateSliderForTypeE15gjParticleValue; CreateParticlePopup::updateSliderForType(gjParticleValue) ; +0x1d6, 0x666822 MOV R0, R4 ; +0x1da, 0x666826 MOVS R1, #0x26 ; '&' ; +0x1dc, 0x666828 BL _ZN19CreateParticlePopup19updateSliderForTypeE15gjParticleValue; CreateParticlePopup::updateSliderForType(gjParticleValue) ; +0x1de, 0x66682a LDR.W R0, [R4,#0x2A0] ; +0x1e2, 0x66682e MOV R1, R5 ; +0x1e6, 0x666832 LDR R3, [R0] ; +0x1e8, 0x666834 LDR.W R3, [R3,#0x1E0] ; +0x1ea, 0x666836 BLX R3 ; +0x1ee, 0x66683a LDR R2, [SP,#0x10+var_4] ; +0x1f0, 0x66683c LDR R3, [R6] ; +0x1f2, 0x66683e CMP R2, R3 ; +0x1f4, 0x666840 BEQ loc_666848 ; +0x1f6, 0x666842 BLX __stack_chk_fail ; +0x1f8, 0x666844 ADD SP, SP, #0x10 ; +0x1fc, 0x666848 VPOP {D8} ; +0x1fe, 0x66684a POP {R4-R6,PC} ; +0x202, 0x66684e