; ; BoomScrollLayer::updateDots from 0x2e1f7c to 0x2e2094 (280 bytes) ; ; 2 xrefs: ; > BoomScrollLayer::setPagesIndicatorPosition @ 0x2e20b0 ; > BoomScrollLayer::moveToPageEnded @ 0x2e2110 ; ; 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 - 0x2E1F86) ; +0x0, 0x2e1f7c PUSH.W {R4-R11,LR} ; +0x2, 0x2e1f7e ADD R3, PC; __stack_chk_guard_ptr ; +0x6, 0x2e1f82 LDR R3, [R3]; __stack_chk_guard ; +0x8, 0x2e1f84 VPUSH {D8-D10} ; +0xa, 0x2e1f86 MOV R4, R0 ; +0xe, 0x2e1f8a LDR R2, [R3] ; +0x10, 0x2e1f8c MOV R7, R3 ; +0x12, 0x2e1f8e SUB SP, SP, #0x1C ; +0x14, 0x2e1f90 STR R2, [SP,#0x1C+var_8] ; +0x16, 0x2e1f92 LDR.W R2, [R0,#0x13C] ; +0x18, 0x2e1f94 CMP R2, #0 ; +0x1c, 0x2e1f98 BEQ loc_2E207E ; +0x1e, 0x2e1f9a BL _ZN15BoomScrollLayer13getTotalPagesEv; BoomScrollLayer::getTotalPages(void) ; +0x20, 0x2e1f9c LDR.W R10, [R4,#0x1C0] ; +0x24, 0x2e1fa0 ADD.W R8, SP, #0x1C+var_10 ; +0x28, 0x2e1fa4 VMOV S16, R0 ; +0x2c, 0x2e1fa8 LDR.W R0, [R4,#0x180] ; +0x30, 0x2e1fac VCVT.F32.S32 S17, S16 ; +0x34, 0x2e1fb0 LDR R3, [R0] ; +0x38, 0x2e1fb4 LDR R3, [R3,#0x60] ; +0x3a, 0x2e1fb6 BLX R3 ; +0x3c, 0x2e1fb8 MOV R1, R0; cocos2d::CCPoint * ; +0x3e, 0x2e1fba MOV R0, R8; this ; +0x40, 0x2e1fbc BL _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x42, 0x2e1fbe MOV R0, R4 ; +0x46, 0x2e1fc2 MOV R1, R8 ; +0x48, 0x2e1fc4 BL _ZN15BoomScrollLayer21pageNumberForPositionEN7cocos2d7CCPointE; BoomScrollLayer::pageNumberForPosition(cocos2d::CCPoint) ; +0x4a, 0x2e1fc6 LDRB.W R3, [R4,#0x14C] ; +0x4e, 0x2e1fca MOV R9, R0 ; +0x52, 0x2e1fce CBZ R3, loc_2E1FDC ; +0x54, 0x2e1fd0 MOV R1, R9; int ; +0x56, 0x2e1fd2 MOV R0, R4; this ; +0x58, 0x2e1fd4 BL _ZN15BoomScrollLayer21getRelativePageForNumEi; BoomScrollLayer::getRelativePageForNum(int) ; +0x5a, 0x2e1fd6 MOV R9, R0 ; +0x5e, 0x2e1fda VMOV.F32 S18, #1.0 ; +0x60, 0x2e1fdc LDR.W R11, =(unk_9A96E0 - 0x2E1FEA) ; +0x64, 0x2e1fe0 MOVS R5, #0 ; +0x68, 0x2e1fe4 ADD R11, PC; unk_9A96E0 ; +0x6a, 0x2e1fe6 VMOV.F32 S19, #0.5 ; +0x6c, 0x2e1fe8 VMOV R3, S16 ; +0x70, 0x2e1fec CMP R5, R3 ; +0x74, 0x2e1ff0 BGE loc_2E207E ; +0x76, 0x2e1ff2 LDR.W R0, [R4,#0x13C]; this ; +0x78, 0x2e1ff4 VLDR S20, [R4,#0x1BC] ; +0x7c, 0x2e1ff8 BL _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x80, 0x2e1ffc CMP R5, R0 ; +0x84, 0x2e2000 BCS loc_2E207A ; +0x86, 0x2e2002 MOV R1, R5; unsigned int ; +0x88, 0x2e2004 LDR.W R0, [R4,#0x13C]; this ; +0x8a, 0x2e2006 BL _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x8e, 0x2e200a VSUB.F32 S14, S17, S18 ; +0x92, 0x2e200e VMOV S15, R5 ; +0x96, 0x2e2012 MOV R2, R10; float ; +0x9a, 0x2e2016 VCVT.F32.S32 S15, S15 ; +0x9c, 0x2e2018 VMLS.F32 S15, S14, S19 ; +0xa0, 0x2e201c LDR R3, [R0] ; +0xa4, 0x2e2020 MOV R6, R0 ; +0xa6, 0x2e2022 MOV R0, R8; this ; +0xa8, 0x2e2024 LDR R3, [R3,#0x5C] ; +0xaa, 0x2e2026 VMOV.F32 S14, #16.0 ; +0xac, 0x2e2028 STR R3, [SP,#0x1C+var_18] ; +0xb0, 0x2e202c VMLA.F32 S20, S15, S14 ; +0xb2, 0x2e202e VMOV R1, S20; float ; +0xb6, 0x2e2032 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0xba, 0x2e2036 LDR R3, [SP,#0x1C+var_18] ; +0xbe, 0x2e203a MOV R0, R6 ; +0xc0, 0x2e203c MOV R1, R8 ; +0xc2, 0x2e203e BLX R3 ; +0xc4, 0x2e2040 CMP R5, R9 ; +0xc6, 0x2e2042 LDR R3, [R6] ; +0xc8, 0x2e2044 BNE loc_2E2054 ; +0xca, 0x2e2046 LDR.W R3, [R3,#0x1D8] ; +0xcc, 0x2e2048 MOV R0, R6 ; +0xd0, 0x2e204c MOV R1, R11 ; +0xd2, 0x2e204e BLX R3 ; +0xd4, 0x2e2050 B loc_2E206C ; +0xd6, 0x2e2052 LDR.W R2, [R3,#0x1D8] ; +0xd8, 0x2e2054 MOV R0, R6 ; +0xdc, 0x2e2058 MOVS R3, #0x7D ; '}' ; +0xde, 0x2e205a MOV R1, R8 ; +0xe0, 0x2e205c STRB.W R3, [SP,#0x1C+var_10] ; +0xe2, 0x2e205e STRB.W R3, [SP,#0x1C+var_F] ; +0xe6, 0x2e2062 STRB.W R3, [SP,#0x1C+var_E] ; +0xea, 0x2e2066 BLX R2 ; +0xee, 0x2e206a LDR R3, [R6] ; +0xf0, 0x2e206c MOV R0, R6 ; +0xf2, 0x2e206e LDRB.W R1, [R4,#0x1B9] ; +0xf4, 0x2e2070 LDR.W R3, [R3,#0xA4] ; +0xf8, 0x2e2074 BLX R3 ; +0xfc, 0x2e2078 ADDS R5, #1 ; +0xfe, 0x2e207a B loc_2E1FEC ; +0x100, 0x2e207c LDR R2, [SP,#0x1C+var_8] ; +0x102, 0x2e207e LDR R3, [R7] ; +0x104, 0x2e2080 CMP R2, R3 ; +0x106, 0x2e2082 BEQ loc_2E208A ; +0x108, 0x2e2084 BLX __stack_chk_fail ; +0x10a, 0x2e2086 ADD SP, SP, #0x1C ; +0x10e, 0x2e208a VPOP {D8-D10} ; +0x110, 0x2e208c POP.W {R4-R11,PC} ; +0x114, 0x2e2090