; ; CreateParticlePopup::updateInputNodeStringForType from 0x53123c to 0x531310 (212 bytes) ; ; 22 xrefs: ; > CreateParticlePopup::createParticleSlider @ 0x5315c8 ; > CreateParticlePopup::onDuplicateColor @ 0x5319dc ; > CreateParticlePopup::onDuplicateColor @ 0x5319e4 ; > CreateParticlePopup::onDuplicateColor @ 0x5319ec ; > CreateParticlePopup::colorSelectClosed @ 0x531b5e ; > CreateParticlePopup::colorSelectClosed @ 0x531b66 ; > CreateParticlePopup::colorSelectClosed @ 0x531b6e ; > CreateParticlePopup::colorSelectClosed @ 0x531c32 ; > CreateParticlePopup::colorSelectClosed @ 0x531c3a ; > CreateParticlePopup::colorSelectClosed @ 0x531c42 ; > CreateParticlePopup::onDurationForever @ 0x531caa ; > CreateParticlePopup::onMaxEmission @ 0x531cda ; > CreateParticlePopup::onCalcEmission @ 0x531d5e ; > CreateParticlePopup::sliderChanged @ 0x531e04 ; > CreateParticlePopup::ccTouchMoved @ 0x531f04 ; > CreateParticlePopup::ccTouchMoved @ 0x531f14 ; > CreateParticlePopup::ccTouchMoved @ 0x531f62 ; > CreateParticlePopup::ccTouchMoved @ 0x531f72 ; > CreateParticlePopup::ccTouchMoved @ 0x531fc4 ; > CreateParticlePopup::ccTouchMoved @ 0x531fe2 ; > CreateParticlePopup::ccTouchMoved @ 0x532088 ; > CreateParticlePopup::ccTouchMoved @ 0x532098 ; ; 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.W {R4-R8,LR} ; +0x0, 0x53123c MOV R5, R1 ; +0x4, 0x531240 LDR R6, =(__stack_chk_guard_ptr - 0x531250) ; +0x6, 0x531242 MOVS R1, #0; int ; +0x8, 0x531244 VPUSH {D8} ; +0xa, 0x531246 MOV R7, R0 ; +0xe, 0x53124a ADD R6, PC; __stack_chk_guard_ptr ; +0x10, 0x53124c LDR R6, [R6]; __stack_chk_guard ; +0x12, 0x53124e LDR R3, [R6] ; +0x14, 0x531250 SUB SP, SP, #0x10 ; +0x16, 0x531252 STR R3, [SP,#0x10+var_4] ; +0x18, 0x531254 BL _ZN19CreateParticlePopup17getPageInputNodesEi; CreateParticlePopup::getPageInputNodes(int) ; +0x1a, 0x531256 MOV R1, R5; int ; +0x1e, 0x53125a BL _ZN7cocos2d12CCDictionary12objectForKeyEi; cocos2d::CCDictionary::objectForKey(int) ; +0x20, 0x53125c MOV R8, R0 ; +0x24, 0x531260 CMP R0, #0 ; +0x26, 0x531262 BEQ loc_5312FA ; +0x28, 0x531264 MOV R1, R5 ; +0x2a, 0x531266 MOV R0, R7 ; +0x2c, 0x531268 BL _ZN19CreateParticlePopup21valueForParticleValueE15gjParticleValue; CreateParticlePopup::valueForParticleValue(gjParticleValue) ; +0x2e, 0x53126a LDR R3, =(off_AB5BA0 - 0x531278) ; +0x32, 0x53126e ADD R4, SP, #0x10+var_s0 ; +0x34, 0x531270 MOV R1, R5 ; +0x36, 0x531272 ADD R3, PC; off_AB5BA0 ; +0x38, 0x531274 LDR R3, [R3]; dword_ACDD9C ; +0x3a, 0x531276 ADDS R3, #0xC ; +0x3c, 0x531278 STR.W R3, [R4,#-0xC]! ; +0x3e, 0x53127a VMOV S16, R0 ; +0x42, 0x53127e MOV R0, R7 ; +0x46, 0x531282 BL _ZN19CreateParticlePopup18particleValueIsIntE15gjParticleValue; CreateParticlePopup::particleValueIsInt(gjParticleValue) ; +0x48, 0x531284 CBZ R0, loc_5312BA ; +0x4c, 0x531288 VCVT.S32.F32 S15, S16 ; +0x4e, 0x53128a LDR R0, =(aI - 0x531294); "%i" ; +0x52, 0x53128e ADD R0, PC; "%i" ; +0x54, 0x531290 VMOV R1, S15; char * ; +0x56, 0x531292 BL _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x5a, 0x531296 BL _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x5e, 0x53129a MOV R1, R0; char * ; +0x62, 0x53129e MOV R0, R4; int ; +0x64, 0x5312a0 BL sub_7753D4 ; +0x66, 0x5312a2 ADD R5, SP, #0x10+var_8 ; +0x6a, 0x5312a6 MOVS R3, #1 ; +0x6c, 0x5312a8 LDR R1, [SP,#0x10+var_C]; char * ; +0x6e, 0x5312aa MOV R2, SP ; +0x70, 0x5312ac STRB.W R3, [R7,#0x208] ; +0x72, 0x5312ae MOV R0, R5; int ; +0x76, 0x5312b2 BL sub_776584 ; +0x78, 0x5312b4 B loc_5312CC ; +0x7c, 0x5312b8 VCVT.F64.F32 D7, S16 ; +0x7e, 0x5312ba LDR R0, =(a02f_0 - 0x5312C4); "%.02f" ; +0x82, 0x5312be ADD R0, PC; "%.02f" ; +0x84, 0x5312c0 VMOV R2, R3, D7 ; +0x86, 0x5312c2 BL _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x8a, 0x5312c6 B loc_53129A ; +0x8e, 0x5312ca MOV R0, R8 ; +0x90, 0x5312cc MOV R1, R5 ; +0x92, 0x5312ce BL _ZN15CCTextInputNode9setStringESs; CCTextInputNode::setString(std::string) ; +0x94, 0x5312d0 MOV R0, R5 ; +0x98, 0x5312d4 BL sub_774008 ; +0x9a, 0x5312d6 MOVS R3, #0 ; +0x9e, 0x5312da MOV R0, R4 ; +0xa0, 0x5312dc STRB.W R3, [R7,#0x208] ; +0xa2, 0x5312de BL sub_774008 ; +0xa6, 0x5312e2 B loc_5312FA ; +0xaa, 0x5312e6 MOV R0, R5 ; +0xac, 0x5312e8 BL sub_774008 ; +0xae, 0x5312ea B loc_5312F0 ; +0xb2, 0x5312ee MOV R0, R4 ; +0xb4, 0x5312f0 BL sub_774008 ; +0xb6, 0x5312f2 BL __cxa_end_cleanup ; +0xba, 0x5312f6 LDR R2, [SP,#0x10+var_4] ; +0xbe, 0x5312fa LDR R3, [R6] ; +0xc0, 0x5312fc CMP R2, R3 ; +0xc2, 0x5312fe BEQ loc_531306 ; +0xc4, 0x531300 BLX __stack_chk_fail ; +0xc6, 0x531302 ADD SP, SP, #0x10 ; +0xca, 0x531306 VPOP {D8} ; +0xcc, 0x531308 POP.W {R4-R8,PC} ; +0xd0, 0x53130c