{"type": "func", "start": 5372668032, "end": 5372668130, "name": "ProfilePage::updatePageArrows", "pseudocode": "// \n// ProfilePage::updatePageArrows from 0x1403c6880 to 0x1403c68e2 (98 bytes)\n// \n// 2 xrefs:\n// > ProfilePage::setupPageInfo @ 0x1403c6850\n// > <???> @ 0x1406d7904\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\nvoid ProfilePage::updatePageArrows(ProfilePage *a1)\n{\n  _BOOL8 v1; // rdx\n  CCMenuItemSpriteExtra *m_leftArrow; // rcx\n  _BOOL8 v4; // rdx\n  CCMenuItemSpriteExtra *m_rightArrow; // rcx\n  CCMenuItemSpriteExtra_vtbl *v6; // rax\n\n  m_leftArrow = a1->m_leftArrow;\n  if ( a1->m_pageStartIdx )\n    LOBYTE(v1) = 1;\n  else\n    v1 = 0;\n  m_leftArrow->setVisible(m_leftArrow, v1);\n  m_rightArrow = a1->m_rightArrow;\n  v6 = m_rightArrow->cocos2d::CCMenuItemSprite::cocos2d::CCMenuItem::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n  if ( a1->m_pageStartIdx + a1->m_pageEndIdx < a1->m_itemCount )\n  {\n    LOBYTE(v4) = 1;\n    v6->setVisible(m_rightArrow, v4);\n  }\n  else\n  {\n    v6->setVisible(m_rightArrow, 0);\n  }\n}", "assembly": "; \n; ProfilePage::updatePageArrows from 0x1403c6880 to 0x1403c68e2 (98 bytes)\n; \n; 2 xrefs:\n; > ProfilePage::setupPageInfo @ 0x1403c6850\n; > <???> @ 0x1406d7904\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    rbx                                                            ; +0x0, 0x1403c6880\nsub     rsp, 20h                                                       ; +0x2, 0x1403c6882\nmov     rbx, rcx                                                       ; +0x6, 0x1403c6886\nmov     rcx, [rcx+300h]                                                ; +0x9, 0x1403c6889\ncmp     dword ptr [rbx+32Ch], 0                                        ; +0x10, 0x1403c6890\nmov     rax, [rcx]                                                     ; +0x17, 0x1403c6897\njnz     short loc_1403C68A0                                            ; +0x1a, 0x1403c689a\nxor     edx, edx                                                       ; +0x1c, 0x1403c689c\njmp     short loc_1403C68A2                                            ; +0x1e, 0x1403c689e\nmov     dl, 1                                                          ; +0x20, 0x1403c68a0\ncall    qword ptr [rax+140h]                                           ; +0x22, 0x1403c68a2\nmov     eax, [rbx+330h]                                                ; +0x28, 0x1403c68a8\nadd     eax, [rbx+32Ch]                                                ; +0x2e, 0x1403c68ae\nmov     rcx, [rbx+2F8h]                                                ; +0x34, 0x1403c68b4\ncmp     eax, [rbx+328h]                                                ; +0x3b, 0x1403c68bb\nmov     rax, [rcx]                                                     ; +0x41, 0x1403c68c1\njl      short loc_1403C68D4                                            ; +0x44, 0x1403c68c4\nxor     edx, edx                                                       ; +0x46, 0x1403c68c6\nadd     rsp, 20h                                                       ; +0x48, 0x1403c68c8\npop     rbx                                                            ; +0x4c, 0x1403c68cc\njmp     qword ptr [rax+140h]                                           ; +0x4d, 0x1403c68cd\nmov     dl, 1                                                          ; +0x54, 0x1403c68d4\nadd     rsp, 20h                                                       ; +0x56, 0x1403c68d6\npop     rbx                                                            ; +0x5a, 0x1403c68da\njmp     qword ptr [rax+140h]                                           ; +0x5b, 0x1403c68db", "xrefs": ["ProfilePage::setupPageInfo @ 0x1403c6850", "<???> @ 0x1406d7904"], "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"}