{"type": "func", "start": 7819676, "end": 7819740, "name": "DeathTrackerPopup::onPrevSession", "pseudocode": "// \n// DeathTrackerPopup::onPrevSession from 0x77519c to 0x7751dc (64 bytes)\n// \n// 1 xrefs:\n// > DeathTrackerPopup::keyDown @ 0x77522c\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:59:19 +0000\n// \n\nchar **__fastcall DeathTrackerPopup::onPrevSession(DeathTrackerPopup *this, cocos2d::CCObject *a2)\n{\n  int v2; // r2\n  int v3; // r3\n  int v4; // r1\n\n  v2 = *((_DWORD *)this + 145);\n  v3 = *((_DWORD *)this + 146);\n  if ( *((_BYTE *)this + 564) )\n  {\n    if ( v2 != v3 )\n    {\n      *((_BYTE *)this + 564) = 0;\n      *((_DWORD *)this + 142) = 0;\n    }\n  }\n  else\n  {\n    v4 = *((_DWORD *)this + 142);\n    if ( v4 >= 954437177 * ((v3 - v2) >> 2) - 1 )\n      *((_BYTE *)this + 564) = 1;\n    else\n      *((_DWORD *)this + 142) = v4 + 1;\n  }\n  return DeathTrackerPopup::refreshView(this);\n}", "assembly": "; \n; DeathTrackerPopup::onPrevSession from 0x77519c to 0x7751dc (64 bytes)\n; \n; 1 xrefs:\n; > DeathTrackerPopup::keyDown @ 0x77522c\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:59:19 +0000\n; \nLDRB.W          R1, [R0,#0x234]                                        ; +0x0, 0x77519c\nLDR.W           R2, [R0,#0x244]                                        ; +0x4, 0x7751a0\nLDR.W           R3, [R0,#0x248]                                        ; +0x8, 0x7751a4\nCBZ             R1, loc_7751BA                                         ; +0xc, 0x7751a8\nCMP             R2, R3                                                 ; +0xe, 0x7751aa\nBEQ             loc_7751D8                                             ; +0x10, 0x7751ac\nMOVS            R3, #0                                                 ; +0x12, 0x7751ae\nSTRB.W          R3, [R0,#0x234]                                        ; +0x14, 0x7751b0\nSTR.W           R3, [R0,#0x238]                                        ; +0x18, 0x7751b4\nB               loc_7751D8                                             ; +0x1c, 0x7751b8\nSUBS            R3, R3, R2                                             ; +0x1e, 0x7751ba\nLDR             R2, =0x38E38E39                                        ; +0x20, 0x7751bc\nLDR.W           R1, [R0,#0x238]                                        ; +0x22, 0x7751be\nASRS            R3, R3, #2                                             ; +0x26, 0x7751c2\nMULS            R3, R2                                                 ; +0x28, 0x7751c4\nSUBS            R3, #1                                                 ; +0x2a, 0x7751c6\nCMP             R1, R3                                                 ; +0x2c, 0x7751c8\nITTEE LT                                                               ; +0x2e, 0x7751ca\nADDLT           R1, #1                                                 ; +0x30, 0x7751cc\nSTRLT.W         R1, [R0,#0x238]                                        ; +0x32, 0x7751ce\nMOVGE           R3, #1                                                 ; +0x36, 0x7751d2\nSTRBGE.W        R3, [R0,#0x234]                                        ; +0x38, 0x7751d4\nB.W             _ZN17DeathTrackerPopup11refreshViewEv; DeathTrackerPopup::refreshView(void) ; +0x3c, 0x7751d8", "xrefs": ["DeathTrackerPopup::keyDown @ 0x77522c"], "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"}