{"type": "func", "start": 4301620256, "end": 4301620357, "name": "FriendsProfilePage::onUpdate", "pseudocode": "// \n// FriendsProfilePage::onUpdate from 0x100658420 to 0x100658485 (101 bytes)\n// \n// 1 xrefs:\n// > FriendsProfilePage::init @ 0x100658172\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 __fastcall FriendsProfilePage::onUpdate(FriendsProfilePage *a1, cocos2d::CCObject *a2)\n{\n  GameLevelManager *v2; // rax\n  GameLevelManager *v3; // rax\n  GameLevelManager *v4; // rax\n\n  v2 = GameLevelManager::sharedState();\n  if ( (unsigned int)(GameLevelManager::getTimeLeft(v2, \"upd_friends\", 5.0) - 1) >= 5 )\n  {\n    v3 = GameLevelManager::sharedState();\n    GameLevelManager::makeTimeStamp(v3, \"upd_friends\");\n    v4 = GameLevelManager::sharedState();\n    GameLevelManager::invalidateUserList(v4, a1->m_type, 1);\n  }\n}", "assembly": "; \n; FriendsProfilePage::onUpdate from 0x100658420 to 0x100658485 (101 bytes)\n; \n; 1 xrefs:\n; > FriendsProfilePage::init @ 0x100658172\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    rbp                                                            ; +0x0, 0x100658420\nmov     rbp, rsp                                                       ; +0x1, 0x100658421\npush    rbx                                                            ; +0x4, 0x100658424\npush    rax                                                            ; +0x5, 0x100658425\nmov     rbx, rdi                                                       ; +0x6, 0x100658426\ncall    GameLevelManager__sharedState                                  ; +0x9, 0x100658429\nlea     rsi, aUpdFriends; \"upd_friends\"                                ; +0xe, 0x10065842e\nmovss   xmm0, cs:flt_100815088                                         ; +0x15, 0x100658435\nmov     rdi, rax                                                       ; +0x1d, 0x10065843d\ncall    GameLevelManager__getTimeLeft                                  ; +0x20, 0x100658440\ndec     eax                                                            ; +0x25, 0x100658445\ncmp     eax, 5                                                         ; +0x27, 0x100658447\njnb     short loc_100658453                                            ; +0x2a, 0x10065844a\nadd     rsp, 8                                                         ; +0x2c, 0x10065844c\npop     rbx                                                            ; +0x30, 0x100658450\npop     rbp                                                            ; +0x31, 0x100658451\nretn                                                                   ; +0x32, 0x100658452\ncall    GameLevelManager__sharedState                                  ; +0x33, 0x100658453\nlea     rsi, aUpdFriends; \"upd_friends\"                                ; +0x38, 0x100658458\nmov     rdi, rax                                                       ; +0x3f, 0x10065845f\ncall    GameLevelManager__makeTimeStamp                                ; +0x42, 0x100658462\ncall    GameLevelManager__sharedState                                  ; +0x47, 0x100658467\nmov     esi, [rbx+298h]                                                ; +0x4c, 0x10065846c\nmov     rdi, rax                                                       ; +0x52, 0x100658472\nmov     edx, 1                                                         ; +0x55, 0x100658475\nadd     rsp, 8                                                         ; +0x5a, 0x10065847a\npop     rbx                                                            ; +0x5e, 0x10065847e\npop     rbp                                                            ; +0x5f, 0x10065847f\njmp     GameLevelManager__invalidateUserList                           ; +0x60, 0x100658480", "xrefs": ["FriendsProfilePage::init @ 0x100658172"], "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"}