{"type": "func", "start": 3022618, "end": 3022678, "name": "BoomScrollLayer::positionForPageWithNumber", "pseudocode": "// \n// BoomScrollLayer::positionForPageWithNumber from 0x2e1f1a to 0x2e1f56 (60 bytes)\n// \n// 4 xrefs:\n// > BoomScrollLayer::instantMoveToPage @ 0x2e24f2\n// > BoomScrollLayer::moveToPage @ 0x2e2566\n// > BoomScrollLayer::selectPage @ 0x2e2814\n// > BoomScrollLayer::ccTouchMoved @ 0x2e2b16\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\ncocos2d::CCPoint *BoomScrollLayer::positionForPageWithNumber(\n        cocos2d::CCPoint *__return_ptr retstr,\n        BoomScrollLayer *a2,\n        int a3)\n{\n  const cocos2d::CCSize *v6; // r0\n\n  v6 = a2->getContentSize(a2);\n  cocos2d::CCPoint::CCPoint(retstr, (float)-a3 * (float)(v6->width - a2->m_pageOffset), 0.0);\n  return retstr;\n}", "assembly": "; \n; BoomScrollLayer::positionForPageWithNumber from 0x2e1f1a to 0x2e1f56 (60 bytes)\n; \n; 4 xrefs:\n; > BoomScrollLayer::instantMoveToPage @ 0x2e24f2\n; > BoomScrollLayer::moveToPage @ 0x2e2566\n; > BoomScrollLayer::selectPage @ 0x2e2814\n; > BoomScrollLayer::ccTouchMoved @ 0x2e2b16\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nLDR             R3, [R1]                                               ; +0x0, 0x2e1f1a\nPUSH            {R4-R6,LR}                                             ; +0x2, 0x2e1f1c\nMOV             R6, R0                                                 ; +0x4, 0x2e1f1e\nLDR.W           R3, [R3,#0x9C]                                         ; +0x6, 0x2e1f20\nMOV             R0, R1                                                 ; +0xa, 0x2e1f24\nMOV             R5, R1                                                 ; +0xc, 0x2e1f26\nMOV             R4, R2                                                 ; +0xe, 0x2e1f28\nBLX             R3                                                     ; +0x10, 0x2e1f2a\nVLDR            S13, [R5,#0x1D0]                                       ; +0x12, 0x2e1f2c\nNEGS            R4, R4                                                 ; +0x16, 0x2e1f30\nMOVS            R2, #0; float                                          ; +0x18, 0x2e1f32\nVMOV            S15, R4                                                ; +0x1a, 0x2e1f34\nVCVT.F32.S32    S15, S15                                               ; +0x1e, 0x2e1f38\nVLDR            S14, [R0]                                              ; +0x22, 0x2e1f3c\nMOV             R0, R6; this                                           ; +0x26, 0x2e1f40\nVSUB.F32        S14, S14, S13                                          ; +0x28, 0x2e1f42\nVMUL.F32        S15, S15, S14                                          ; +0x2c, 0x2e1f46\nVMOV            R1, S15; float                                         ; +0x30, 0x2e1f4a\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x34, 0x2e1f4e\nMOV             R0, R6                                                 ; +0x38, 0x2e1f52\nPOP             {R4-R6,PC}                                             ; +0x3a, 0x2e1f54", "xrefs": ["BoomScrollLayer::instantMoveToPage @ 0x2e24f2", "BoomScrollLayer::moveToPage @ 0x2e2566", "BoomScrollLayer::selectPage @ 0x2e2814", "BoomScrollLayer::ccTouchMoved @ 0x2e2b16"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}