; ; BrowseSmartTemplateLayer::updateDots from 0x53ef40 to 0x53f050 (272 bytes) ; ; 1 xrefs: ; > BrowseSmartTemplateLayer::goToPage @ 0x53f118 ; ; 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 ; LDR R3, =(__stack_chk_guard_ptr - 0x53EF4A) ; +0x0, 0x53ef40 PUSH.W {R4-R10,LR} ; +0x2, 0x53ef42 ADD R3, PC; __stack_chk_guard_ptr ; +0x6, 0x53ef46 LDR R3, [R3]; __stack_chk_guard ; +0x8, 0x53ef48 VPUSH {D8-D9} ; +0xa, 0x53ef4a MOV R7, R0 ; +0xe, 0x53ef4e LDR R2, [R3] ; +0x10, 0x53ef50 MOV R6, R3 ; +0x12, 0x53ef52 SUB SP, SP, #0x18 ; +0x14, 0x53ef54 STR R2, [SP,#0x18+var_4] ; +0x16, 0x53ef56 LDR.W R2, [R0,#0x204] ; +0x18, 0x53ef58 CBNZ R2, loc_53EF62 ; +0x1c, 0x53ef5c BL _ZN24BrowseSmartTemplateLayer10createDotsEv; BrowseSmartTemplateLayer::createDots(void) ; +0x1e, 0x53ef5e BL _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x22, 0x53ef62 VMOV.F32 S17, #0.5 ; +0x26, 0x53ef66 LDR.W R9, =(unk_9AD328 - 0x53EF78) ; +0x2a, 0x53ef6a ADD.W R8, SP, #0x18+var_C ; +0x2e, 0x53ef6e MOVS R4, #0 ; +0x32, 0x53ef72 ADD R9, PC; unk_9AD328 ; +0x34, 0x53ef74 ADD.W R9, R9, #(unk_9AD330 - 0x9AD328) ; +0x36, 0x53ef76 VMOV.F32 S16, #15.0 ; +0x3a, 0x53ef7a MOV R1, R0 ; +0x3e, 0x53ef7e ADD R0, SP, #0x18+var_14; this ; +0x40, 0x53ef80 BL _ZN7cocos2d10CCDirector10getWinSizeEv; cocos2d::CCDirector::getWinSize(void) ; +0x42, 0x53ef82 LDR.W R0, [R7,#0x1F4]; this ; +0x46, 0x53ef86 BL _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x4a, 0x53ef8a VLDR S14, =140.0 ; +0x4e, 0x53ef8e VMOV S15, R0 ; +0x52, 0x53ef92 VCVT.F32.S32 S18, S15 ; +0x56, 0x53ef96 VLDR S15, [SP,#0x18+var_10] ; +0x5a, 0x53ef9a VNMLS.F32 S14, S15, S17 ; +0x5e, 0x53ef9e VADD.F32 S16, S14, S16 ; +0x62, 0x53efa2 LDR.W R0, [R7,#0x1F4]; this ; +0x66, 0x53efa6 BL _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x6a, 0x53efaa CMP R4, R0 ; +0x6e, 0x53efae BCS loc_53F03A ; +0x70, 0x53efb0 LDR.W R0, [R7,#0x204]; this ; +0x72, 0x53efb2 VLDR S19, [SP,#0x18+var_14] ; +0x76, 0x53efb6 BL _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x7a, 0x53efba CMP R4, R0 ; +0x7e, 0x53efbe BCS loc_53F036 ; +0x80, 0x53efc0 MOV R1, R4; unsigned int ; +0x82, 0x53efc2 LDR.W R0, [R7,#0x204]; this ; +0x84, 0x53efc4 BL _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x88, 0x53efc8 VMOV.F32 S14, #1.0 ; +0x8c, 0x53efcc VMOV S15, R4 ; +0x90, 0x53efd0 VMOV R2, S16; float ; +0x94, 0x53efd4 VSUB.F32 S14, S18, S14 ; +0x98, 0x53efd8 VCVT.F32.S32 S15, S15 ; +0x9c, 0x53efdc VMLS.F32 S15, S14, S17 ; +0xa0, 0x53efe0 LDR R3, [R0] ; +0xa4, 0x53efe4 MOV R5, R0 ; +0xa6, 0x53efe6 MOV R0, R8; this ; +0xa8, 0x53efe8 LDR.W R10, [R3,#0x5C] ; +0xaa, 0x53efea VMOV.F32 S14, #16.0 ; +0xae, 0x53efee VMUL.F32 S15, S15, S14 ; +0xb2, 0x53eff2 VMLA.F32 S15, S19, S17 ; +0xb6, 0x53eff6 VMOV R1, S15; float ; +0xba, 0x53effa BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0xbe, 0x53effe MOV R0, R5 ; +0xc2, 0x53f002 MOV R1, R8 ; +0xc4, 0x53f004 BLX R10 ; +0xc6, 0x53f006 LDR.W R3, [R7,#0x1F8] ; +0xc8, 0x53f008 CMP R4, R3 ; +0xcc, 0x53f00c LDR R3, [R5] ; +0xce, 0x53f00e BNE loc_53F01E ; +0xd0, 0x53f010 LDR.W R3, [R3,#0x1D8] ; +0xd2, 0x53f012 MOV R0, R5 ; +0xd6, 0x53f016 MOV R1, R9 ; +0xd8, 0x53f018 BLX R3 ; +0xda, 0x53f01a B loc_53F036 ; +0xdc, 0x53f01c LDR.W R2, [R3,#0x1D8] ; +0xde, 0x53f01e MOV R0, R5 ; +0xe2, 0x53f022 MOVS R3, #0x7D ; '}' ; +0xe4, 0x53f024 MOV R1, R8 ; +0xe6, 0x53f026 STRB.W R3, [SP,#0x18+var_C] ; +0xe8, 0x53f028 STRB.W R3, [SP,#0x18+var_B] ; +0xec, 0x53f02c STRB.W R3, [SP,#0x18+var_A] ; +0xf0, 0x53f030 BLX R2 ; +0xf4, 0x53f034 ADDS R4, #1 ; +0xf6, 0x53f036 B loc_53EFA6 ; +0xf8, 0x53f038 LDR R2, [SP,#0x18+var_4] ; +0xfa, 0x53f03a LDR R3, [R6] ; +0xfc, 0x53f03c CMP R2, R3 ; +0xfe, 0x53f03e BEQ loc_53F046 ; +0x100, 0x53f040 BLX __stack_chk_fail ; +0x102, 0x53f042 ADD SP, SP, #0x18 ; +0x106, 0x53f046 VPOP {D8-D9} ; +0x108, 0x53f048 POP.W {R4-R10,PC} ; +0x10c, 0x53f04c