{"type": "func", "start": 4296194604, "end": 4296194632, "name": "BoomScrollLayer::getTotalPages", "pseudocode": "// \n// BoomScrollLayer::getTotalPages from 0x10012ba2c to 0x10012ba48 (28 bytes)\n// \n// 7 xrefs:\n// > ListButtonBar::goToPage @ 0x100168244\n// > GauntletSelectLayer::setupGauntlets @ 0x1001bf62c\n// > GauntletSelectLayer::goToPage @ 0x1001bfda8\n// > SecretRewardsLayer::init @ 0x1002e9830\n// > SecretRewardsLayer::goToPage @ 0x1002ea18c\n// > SecretRewardsLayer::scrollLayerMoved @ 0x1002ea1ec\n// > EditButtonBar::goToPage @ 0x10042152c\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\nint __fastcall BoomScrollLayer::getTotalPages(BoomScrollLayer *a1)\n{\n  __int64 v1; // x8\n\n  v1 = 472;\n  if ( a1->m_dynamic )\n    v1 = 440;\n  return sub_10024A36C(*(BoomScrollLayer_vtbl **)((char *)&a1->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable\n                                                + v1));\n}", "assembly": "; \n; BoomScrollLayer::getTotalPages from 0x10012ba2c to 0x10012ba48 (28 bytes)\n; \n; 7 xrefs:\n; > ListButtonBar::goToPage @ 0x100168244\n; > GauntletSelectLayer::setupGauntlets @ 0x1001bf62c\n; > GauntletSelectLayer::goToPage @ 0x1001bfda8\n; > SecretRewardsLayer::init @ 0x1002e9830\n; > SecretRewardsLayer::goToPage @ 0x1002ea18c\n; > SecretRewardsLayer::scrollLayerMoved @ 0x1002ea1ec\n; > EditButtonBar::goToPage @ 0x10042152c\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\nLDRB            W8, [X0,#0x1C0]                                        ; +0x0, 0x10012ba2c\nCMP             W8, #0                                                 ; +0x4, 0x10012ba30\nMOV             W8, #0x1D8                                             ; +0x8, 0x10012ba34\nMOV             W9, #0x1B8                                             ; +0xc, 0x10012ba38\nCSEL            X8, X9, X8, NE                                         ; +0x10, 0x10012ba3c\nLDR             X0, [X0,X8]                                            ; +0x14, 0x10012ba40\nB               sub_10024A36C                                          ; +0x18, 0x10012ba44", "xrefs": ["ListButtonBar::goToPage @ 0x100168244", "GauntletSelectLayer::setupGauntlets @ 0x1001bf62c", "GauntletSelectLayer::goToPage @ 0x1001bfda8", "SecretRewardsLayer::init @ 0x1002e9830", "SecretRewardsLayer::goToPage @ 0x1002ea18c", "SecretRewardsLayer::scrollLayerMoved @ 0x1002ea1ec", "EditButtonBar::goToPage @ 0x10042152c"], "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"}