; ; BoomScrollLayer::selectPage from 0x3c1ed0 to 0x3c1f2c (92 bytes) ; ; 1 xrefs: ; > BoomScrollLayer::ccTouchCancelled @ 0x3c1f4c ; ; 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:46:31 +0000 ; LDR R3, =(__stack_chk_guard_ptr - 0x3C1EDA) ; +0x0, 0x3c1ed0 PUSH.W {R4-R9,LR} ; +0x2, 0x3c1ed2 ADD R3, PC; __stack_chk_guard_ptr ; +0x6, 0x3c1ed6 LDR R3, [R3]; __stack_chk_guard ; +0x8, 0x3c1ed8 SUB SP, SP, #0x14 ; +0xa, 0x3c1eda SUBS R6, R1, #0 ; +0xc, 0x3c1edc LDR R2, [R3] ; +0xe, 0x3c1ede MOV R4, R0 ; +0x10, 0x3c1ee0 MOV R5, R3 ; +0x12, 0x3c1ee2 STR R2, [SP,#0x14+var_8] ; +0x14, 0x3c1ee4 BLT loc_3C1F1A ; +0x16, 0x3c1ee6 BL _ZN15BoomScrollLayer13getTotalPagesEv; BoomScrollLayer::getTotalPages(void) ; +0x18, 0x3c1ee8 CMP R6, R0 ; +0x1c, 0x3c1eec BGE loc_3C1F1A ; +0x1e, 0x3c1eee LDR.W R8, [R4,#0x180] ; +0x20, 0x3c1ef0 ADD R7, SP, #0x14+var_10 ; +0x24, 0x3c1ef4 MOV R1, R4; int ; +0x26, 0x3c1ef6 MOV R2, R6 ; +0x28, 0x3c1ef8 MOV R0, R7; this ; +0x2a, 0x3c1efa LDR.W R3, [R8] ; +0x2c, 0x3c1efc LDR.W R9, [R3,#0x5C] ; +0x30, 0x3c1f00 BL _ZN15BoomScrollLayer25positionForPageWithNumberEi; BoomScrollLayer::positionForPageWithNumber(int) ; +0x34, 0x3c1f04 MOV R0, R8 ; +0x38, 0x3c1f08 MOV R1, R7 ; +0x3a, 0x3c1f0a BLX R9 ; +0x3c, 0x3c1f0c LDR.W R3, [R4,#0x1CC] ; +0x3e, 0x3c1f0e STR.W R6, [R4,#0x1CC] ; +0x42, 0x3c1f12 STR.W R3, [R4,#0x144] ; +0x46, 0x3c1f16 LDR R2, [SP,#0x14+var_8] ; +0x4a, 0x3c1f1a LDR R3, [R5] ; +0x4c, 0x3c1f1c CMP R2, R3 ; +0x4e, 0x3c1f1e BEQ loc_3C1F26 ; +0x50, 0x3c1f20 BLX __stack_chk_fail ; +0x52, 0x3c1f22 ADD SP, SP, #0x14 ; +0x56, 0x3c1f26 POP.W {R4-R9,PC} ; +0x58, 0x3c1f28