{"type": "func", "start": 3023144, "end": 3023208, "name": "BoomScrollLayer::getRelativePosForPage", "pseudocode": "// \n// BoomScrollLayer::getRelativePosForPage from 0x2e2128 to 0x2e2168 (64 bytes)\n// \n// 6 xrefs:\n// > BoomScrollLayer::setupDynamicScrolling @ 0x2e21b4\n// > BoomScrollLayer::setupDynamicScrolling @ 0x2e21d6\n// > BoomScrollLayer::setupDynamicScrolling @ 0x2e21f8\n// > BoomScrollLayer::repositionPagesLooped @ 0x2e2332\n// > BoomScrollLayer::repositionPagesLooped @ 0x2e2366\n// > BoomScrollLayer::repositionPagesLooped @ 0x2e238c\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::getRelativePosForPage(\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::getRelativePosForPage from 0x2e2128 to 0x2e2168 (64 bytes)\n; \n; 6 xrefs:\n; > BoomScrollLayer::setupDynamicScrolling @ 0x2e21b4\n; > BoomScrollLayer::setupDynamicScrolling @ 0x2e21d6\n; > BoomScrollLayer::setupDynamicScrolling @ 0x2e21f8\n; > BoomScrollLayer::repositionPagesLooped @ 0x2e2332\n; > BoomScrollLayer::repositionPagesLooped @ 0x2e2366\n; > BoomScrollLayer::repositionPagesLooped @ 0x2e238c\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\nPUSH            {R3-R5,LR}                                             ; +0x0, 0x2e2128\nMOV             R5, R0                                                 ; +0x2, 0x2e212a\nLDR             R3, [R1]                                               ; +0x4, 0x2e212c\nMOV             R0, R1                                                 ; +0x6, 0x2e212e\nVPUSH           {D8}                                                   ; +0x8, 0x2e2130\nMOV             R4, R1                                                 ; +0xc, 0x2e2134\nLDR.W           R3, [R3,#0x9C]                                         ; +0xe, 0x2e2136\nVMOV            S16, R2                                                ; +0x12, 0x2e213a\nBLX             R3                                                     ; +0x16, 0x2e213e\nVLDR            S14, [R4,#0x1D0]                                       ; +0x18, 0x2e2140\nMOVS            R2, #0; float                                          ; +0x1c, 0x2e2144\nVCVT.F32.S32    S16, S16                                               ; +0x1e, 0x2e2146\nVLDR            S15, [R0]                                              ; +0x22, 0x2e214a\nMOV             R0, R5; this                                           ; +0x26, 0x2e214e\nVSUB.F32        S15, S15, S14                                          ; +0x28, 0x2e2150\nVMUL.F32        S15, S16, S15                                          ; +0x2c, 0x2e2154\nVMOV            R1, S15; float                                         ; +0x30, 0x2e2158\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x34, 0x2e215c\nVPOP            {D8}                                                   ; +0x38, 0x2e2160\nMOV             R0, R5                                                 ; +0x3c, 0x2e2164\nPOP             {R3-R5,PC}                                             ; +0x3e, 0x2e2166", "xrefs": ["BoomScrollLayer::setupDynamicScrolling @ 0x2e21b4", "BoomScrollLayer::setupDynamicScrolling @ 0x2e21d6", "BoomScrollLayer::setupDynamicScrolling @ 0x2e21f8", "BoomScrollLayer::repositionPagesLooped @ 0x2e2332", "BoomScrollLayer::repositionPagesLooped @ 0x2e2366", "BoomScrollLayer::repositionPagesLooped @ 0x2e238c"], "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"}