{"type": "func", "start": 13318776, "end": 13318868, "name": "DeathTrackerPopup::onPrevSession", "pseudocode": "// \n// DeathTrackerPopup::onPrevSession from 0xcb3a78 to 0xcb3ad4 (92 bytes)\n// \n// 4 xrefs:\n// > DeathTrackerPopup::keyDown @ 0xcb3b48\n// > <???> @ 0xbea38\n// > DeathTrackerPopup::init @ 0xcb4410\n// > <???> @ 0x15458c0\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 13:06:10 +0000\n// \n\n__int64 __fastcall DeathTrackerPopup::onPrevSession(DeathTrackerPopup *this, cocos2d::CCObject *a2)\n{\n  signed int v3; // w2\n\n  if ( *((_BYTE *)this + 732) )\n  {\n    if ( *((_QWORD *)this + 94) != *((_QWORD *)this + 95) )\n    {\n      *((_BYTE *)this + 732) = 0;\n      *((_DWORD *)this + 184) = 0;\n    }\n  }\n  else\n  {\n    v3 = *((_DWORD *)this + 184);\n    if ( v3 < (int)(((__int64)(*((_QWORD *)this + 95) - *((_QWORD *)this + 94)) >> 6) - 1) )\n      *((_DWORD *)this + 184) = v3 + 1;\n    else\n      *((_BYTE *)this + 732) = 1;\n  }\n  return DeathTrackerPopup::refreshView(this);\n}", "assembly": "; \n; DeathTrackerPopup::onPrevSession from 0xcb3a78 to 0xcb3ad4 (92 bytes)\n; \n; 4 xrefs:\n; > DeathTrackerPopup::keyDown @ 0xcb3b48\n; > <???> @ 0xbea38\n; > DeathTrackerPopup::init @ 0xcb4410\n; > <???> @ 0x15458c0\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 13:06:10 +0000\n; \nLDRB            W1, [X0,#0x2DC]                                        ; +0x0, 0xcb3a78\nCBZ             W1, loc_CB3A9C                                         ; +0x4, 0xcb3a7c\nLDR             X2, [X0,#0x2F0]                                        ; +0x8, 0xcb3a80\nLDR             X1, [X0,#0x2F8]                                        ; +0xc, 0xcb3a84\nCMP             X2, X1                                                 ; +0x10, 0xcb3a88\nB.EQ            loc_CB3A98                                             ; +0x14, 0xcb3a8c\nSTRB            WZR, [X0,#0x2DC]                                       ; +0x18, 0xcb3a90\nSTR             WZR, [X0,#0x2E0]                                       ; +0x1c, 0xcb3a94\nB               _ZN17DeathTrackerPopup11refreshViewEv; DeathTrackerPopup::refreshView(void) ; +0x20, 0xcb3a98\nLDR             X1, [X0,#0x2F8]                                        ; +0x24, 0xcb3a9c\nLDR             X3, [X0,#0x2F0]                                        ; +0x28, 0xcb3aa0\nLDR             W2, [X0,#0x2E0]                                        ; +0x2c, 0xcb3aa4\nSUB             X1, X1, X3                                             ; +0x30, 0xcb3aa8\nASR             X1, X1, #6                                             ; +0x34, 0xcb3aac\nSUB             W1, W1, #1                                             ; +0x38, 0xcb3ab0\nCMP             W2, W1                                                 ; +0x3c, 0xcb3ab4\nB.LT            loc_CB3AC8                                             ; +0x40, 0xcb3ab8\nMOV             W1, #1                                                 ; +0x44, 0xcb3abc\nSTRB            W1, [X0,#0x2DC]                                        ; +0x48, 0xcb3ac0\nB               _ZN17DeathTrackerPopup11refreshViewEv; DeathTrackerPopup::refreshView(void) ; +0x4c, 0xcb3ac4\nADD             W2, W2, #1                                             ; +0x50, 0xcb3ac8\nSTR             W2, [X0,#0x2E0]                                        ; +0x54, 0xcb3acc\nB               _ZN17DeathTrackerPopup11refreshViewEv; DeathTrackerPopup::refreshView(void) ; +0x58, 0xcb3ad0", "xrefs": ["DeathTrackerPopup::keyDown @ 0xcb3b48", "<???> @ 0xbea38", "DeathTrackerPopup::init @ 0xcb4410", "<???> @ 0x15458c0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}