{"type": "func", "start": 3938328, "end": 3938392, "name": "BoomScrollLayer::getRelativePosForPage", "pseudocode": "// \n// BoomScrollLayer::getRelativePosForPage from 0x3c1818 to 0x3c1858 (64 bytes)\n// \n// 6 xrefs:\n// > BoomScrollLayer::setupDynamicScrolling @ 0x3c18a4\n// > BoomScrollLayer::setupDynamicScrolling @ 0x3c18c6\n// > BoomScrollLayer::setupDynamicScrolling @ 0x3c18e8\n// > BoomScrollLayer::repositionPagesLooped @ 0x3c1a22\n// > BoomScrollLayer::repositionPagesLooped @ 0x3c1a56\n// > BoomScrollLayer::repositionPagesLooped @ 0x3c1a7c\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:46:31 +0000\n// \n\nBoomScrollLayer *__fastcall BoomScrollLayer::getRelativePosForPage(BoomScrollLayer *this, float *a2, int a3)\n{\n  float *v6; // r0\n\n  v6 = (float *)(*(int (__fastcall **)(float *))(*(_DWORD *)a2 + 164))(a2);\n  cocos2d::CCPoint::CCPoint(this, (float)a3 * (float)(*v6 - a2[116]), 0.0);\n  return this;\n}", "assembly": "; \n; BoomScrollLayer::getRelativePosForPage from 0x3c1818 to 0x3c1858 (64 bytes)\n; \n; 6 xrefs:\n; > BoomScrollLayer::setupDynamicScrolling @ 0x3c18a4\n; > BoomScrollLayer::setupDynamicScrolling @ 0x3c18c6\n; > BoomScrollLayer::setupDynamicScrolling @ 0x3c18e8\n; > BoomScrollLayer::repositionPagesLooped @ 0x3c1a22\n; > BoomScrollLayer::repositionPagesLooped @ 0x3c1a56\n; > BoomScrollLayer::repositionPagesLooped @ 0x3c1a7c\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:46:31 +0000\n; \nPUSH            {R3-R5,LR}                                             ; +0x0, 0x3c1818\nMOV             R5, R0                                                 ; +0x2, 0x3c181a\nVPUSH           {D8}                                                   ; +0x4, 0x3c181c\nMOV             R0, R1                                                 ; +0x8, 0x3c1820\nMOV             R4, R1                                                 ; +0xa, 0x3c1822\nVMOV            S16, R2                                                ; +0xc, 0x3c1824\nLDR             R3, [R1]                                               ; +0x10, 0x3c1828\nLDR.W           R3, [R3,#0xA4]                                         ; +0x12, 0x3c182a\nBLX             R3                                                     ; +0x16, 0x3c182e\nVLDR            S14, [R4,#0x1D0]                                       ; +0x18, 0x3c1830\nMOVS            R2, #0; float                                          ; +0x1c, 0x3c1834\nVCVT.F32.S32    S16, S16                                               ; +0x1e, 0x3c1836\nVLDR            S15, [R0]                                              ; +0x22, 0x3c183a\nMOV             R0, R5; this                                           ; +0x26, 0x3c183e\nVSUB.F32        S15, S15, S14                                          ; +0x28, 0x3c1840\nVMUL.F32        S15, S16, S15                                          ; +0x2c, 0x3c1844\nVMOV            R1, S15; float                                         ; +0x30, 0x3c1848\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x34, 0x3c184c\nVPOP            {D8}                                                   ; +0x38, 0x3c1850\nMOV             R0, R5                                                 ; +0x3c, 0x3c1854\nPOP             {R3-R5,PC}                                             ; +0x3e, 0x3c1856", "xrefs": ["BoomScrollLayer::setupDynamicScrolling @ 0x3c18a4", "BoomScrollLayer::setupDynamicScrolling @ 0x3c18c6", "BoomScrollLayer::setupDynamicScrolling @ 0x3c18e8", "BoomScrollLayer::repositionPagesLooped @ 0x3c1a22", "BoomScrollLayer::repositionPagesLooped @ 0x3c1a56", "BoomScrollLayer::repositionPagesLooped @ 0x3c1a7c"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}