{"type": "func", "start": 3937802, "end": 3937862, "name": "BoomScrollLayer::positionForPageWithNumber", "pseudocode": "// \n// BoomScrollLayer::positionForPageWithNumber from 0x3c160a to 0x3c1646 (60 bytes)\n// \n// 4 xrefs:\n// > BoomScrollLayer::instantMoveToPage @ 0x3c1be2\n// > BoomScrollLayer::moveToPage @ 0x3c1c56\n// > BoomScrollLayer::selectPage @ 0x3c1f04\n// > BoomScrollLayer::ccTouchMoved @ 0x3c2206\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::positionForPageWithNumber(BoomScrollLayer *this, float *a2, int a3)\n{\n  int v5; // r4\n  float *v6; // r0\n\n  v5 = -a3;\n  v6 = (float *)(*(int (__fastcall **)(float *))(*(_DWORD *)a2 + 164))(a2);\n  cocos2d::CCPoint::CCPoint(this, (float)v5 * (float)(*v6 - a2[116]), 0.0);\n  return this;\n}", "assembly": "; \n; BoomScrollLayer::positionForPageWithNumber from 0x3c160a to 0x3c1646 (60 bytes)\n; \n; 4 xrefs:\n; > BoomScrollLayer::instantMoveToPage @ 0x3c1be2\n; > BoomScrollLayer::moveToPage @ 0x3c1c56\n; > BoomScrollLayer::selectPage @ 0x3c1f04\n; > BoomScrollLayer::ccTouchMoved @ 0x3c2206\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            {R4-R6,LR}                                             ; +0x0, 0x3c160a\nMOV             R6, R0                                                 ; +0x2, 0x3c160c\nLDR             R3, [R1]                                               ; +0x4, 0x3c160e\nMOV             R0, R1                                                 ; +0x6, 0x3c1610\nMOV             R5, R1                                                 ; +0x8, 0x3c1612\nMOV             R4, R2                                                 ; +0xa, 0x3c1614\nNEGS            R4, R4                                                 ; +0xc, 0x3c1616\nLDR.W           R3, [R3,#0xA4]                                         ; +0xe, 0x3c1618\nBLX             R3                                                     ; +0x12, 0x3c161c\nVLDR            S13, [R5,#0x1D0]                                       ; +0x14, 0x3c161e\nMOVS            R2, #0; float                                          ; +0x18, 0x3c1622\nVMOV            S15, R4                                                ; +0x1a, 0x3c1624\nVCVT.F32.S32    S15, S15                                               ; +0x1e, 0x3c1628\nVLDR            S14, [R0]                                              ; +0x22, 0x3c162c\nMOV             R0, R6; this                                           ; +0x26, 0x3c1630\nVSUB.F32        S14, S14, S13                                          ; +0x28, 0x3c1632\nVMUL.F32        S15, S15, S14                                          ; +0x2c, 0x3c1636\nVMOV            R1, S15; float                                         ; +0x30, 0x3c163a\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x34, 0x3c163e\nMOV             R0, R6                                                 ; +0x38, 0x3c1642\nPOP             {R4-R6,PC}                                             ; +0x3a, 0x3c1644", "xrefs": ["BoomScrollLayer::instantMoveToPage @ 0x3c1be2", "BoomScrollLayer::moveToPage @ 0x3c1c56", "BoomScrollLayer::selectPage @ 0x3c1f04", "BoomScrollLayer::ccTouchMoved @ 0x3c2206"], "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"}