; ; BoomScrollLayer::getPage from 0x2e1d50 to 0x2e1d8a (58 bytes) ; ; 11 xrefs: ; > BoomScrollLayer::repositionPagesLooped @ 0x2e231e ; > BoomScrollLayer::repositionPagesLooped @ 0x2e2350 ; > BoomScrollLayer::repositionPagesLooped @ 0x2e2378 ; > BoomScrollLayer::repositionPagesLooped @ 0x2e23ce ; > BoomScrollLayer::repositionPagesLooped @ 0x2e23dc ; > BoomScrollLayer::repositionPagesLooped @ 0x2e23ea ; > BoomScrollLayer::repositionPagesLooped @ 0x2e2450 ; > BoomScrollLayer::repositionPagesLooped @ 0x2e245a ; > BoomScrollLayer::repositionPagesLooped @ 0x2e2464 ; > LevelSelectLayer::onPlay @ 0x40951c ; > LevelSelectLayer::onInfo @ 0x40bbaa ; ; 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 {R3-R5,LR} ; +0x0, 0x2e1d50 MOV R5, R0 ; +0x2, 0x2e1d52 LDRB.W R3, [R0,#0x158] ; +0x4, 0x2e1d54 MOV R4, R1 ; +0x8, 0x2e1d58 LDR.W R0, [R0,#0x168]; this ; +0xa, 0x2e1d5a CBZ R3, loc_2E1D82 ; +0xe, 0x2e1d5e BL _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x10, 0x2e1d60 CMP R4, #0 ; +0x14, 0x2e1d64 MOV R1, R0 ; +0x16, 0x2e1d66 BLE loc_2E1D74 ; +0x18, 0x2e1d68 MOV R0, R4 ; +0x1a, 0x2e1d6a BLX __aeabi_idivmod ; +0x1c, 0x2e1d6c MOV R4, R1 ; +0x20, 0x2e1d70 B loc_2E1D7C ; +0x22, 0x2e1d72 CMP R4, #0 ; +0x24, 0x2e1d74 BGE loc_2E1D7C ; +0x26, 0x2e1d76 ADD R4, R1 ; +0x28, 0x2e1d78 B loc_2E1D74 ; +0x2a, 0x2e1d7a LDR.W R0, [R5,#0x168]; this ; +0x2c, 0x2e1d7c MOV R1, R4; unsigned int ; +0x30, 0x2e1d80 POP.W {R3-R5,LR} ; +0x32, 0x2e1d82 B.W _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x36, 0x2e1d86