{"type": "func", "start": 7803252, "end": 7803452, "name": "DeathTrackerPopup::onJumpSession", "pseudocode": "// \n// DeathTrackerPopup::onJumpSession from 0x771174 to 0x77123c (200 bytes)\n// \n// 0 xrefs:\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:15 +0000\n// \n\nint __fastcall DeathTrackerPopup::onJumpSession(int this, cocos2d::CCObject *a2)\n{\n  int v2; // r5\n  int v3; // r7\n  int v4; // r10\n  SetIDPopup *v5; // r4\n  int v6; // r3\n  int v7[3]; // [sp+1Ch] [bp-1Ch] BYREF\n  int v8[3]; // [sp+28h] [bp-10h] BYREF\n\n  v2 = this;\n  v3 = 954437177 * ((*(_DWORD *)(this + 584) - *(_DWORD *)(this + 580)) >> 2);\n  if ( v3 > 0 )\n  {\n    if ( *(_BYTE *)(this + 564) )\n      v4 = 954437177 * ((*(_DWORD *)(this + 584) - *(_DWORD *)(this + 580)) >> 2);\n    else\n      v4 = v3 - *(_DWORD *)(this + 568);\n    memset(v7, 0, sizeof(v7));\n    std::string::__init(v7, \"Go To Session\", 0xDu);\n    memset(v8, 0, sizeof(v8));\n    std::string::__init(v8, \"OK\", 2u);\n    v5 = SetIDPopup::create(v4, 1, v3, (int)v7, (int)v8, 0, 0, 0.0, 0, 0);\n    std::string::~string((int)v8);\n    std::string::~string((int)v7);\n    v6 = *(_DWORD *)v5;\n    *((_DWORD *)v5 + 136) = v2 + 524;\n    return (*(int (__fastcall **)(SetIDPopup *))(v6 + 656))(v5);\n  }\n  return this;\n}", "assembly": "; \n; DeathTrackerPopup::onJumpSession from 0x771174 to 0x77123c (200 bytes)\n; \n; 0 xrefs:\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:15 +0000\n; \nPUSH.W          {R4-R10,LR}                                            ; +0x0, 0x771174\nSUB             SP, SP, #0x38                                          ; +0x4, 0x771178\nLDR             R6, =(__stack_chk_guard_ptr - 0x771186)                ; +0x6, 0x77117a\nMOV             R5, R0                                                 ; +0x8, 0x77117c\nLDR.W           R4, [R0,#0x248]                                        ; +0xa, 0x77117e\nADD             R6, PC; __stack_chk_guard_ptr                          ; +0xe, 0x771182\nLDR             R6, [R6]; __stack_chk_guard                            ; +0x10, 0x771184\nLDR             R7, =0x38E38E39                                        ; +0x12, 0x771186\nLDR             R3, [R6]                                               ; +0x14, 0x771188\nSTR             R3, [SP,#0x38+var_4]                                   ; +0x16, 0x77118a\nLDR.W           R3, [R0,#0x244]                                        ; +0x18, 0x77118c\nSUBS            R4, R4, R3                                             ; +0x1c, 0x771190\nASRS            R4, R4, #2                                             ; +0x1e, 0x771192\nMULS            R7, R4                                                 ; +0x20, 0x771194\nCMP             R7, #0                                                 ; +0x22, 0x771196\nBLE             loc_77122A                                             ; +0x24, 0x771198\nLDRB.W          R3, [R0,#0x234]                                        ; +0x26, 0x77119a\nCBNZ            R3, loc_7711AA                                         ; +0x2a, 0x77119e\nLDR.W           R3, [R0,#0x238]                                        ; +0x2c, 0x7711a0\nRSB.W           R10, R3, R7                                            ; +0x30, 0x7711a4\nB               loc_7711AC                                             ; +0x34, 0x7711a8\nMOV             R10, R7                                                ; +0x36, 0x7711aa\nADD.W           R8, SP, #0x38+var_1C                                   ; +0x38, 0x7711ac\nLDR             R1, =(aGoToSession - 0x7711BC); \"Go To Session\"        ; +0x3c, 0x7711b0\nMOVS            R2, #0xD                                               ; +0x3e, 0x7711b2\nMOVS            R4, #0                                                 ; +0x40, 0x7711b4\nMOV             R0, R8                                                 ; +0x42, 0x7711b6\nADD             R1, PC; \"Go To Session\"                                ; +0x44, 0x7711b8\nSTR             R4, [SP,#0x38+var_1C]                                  ; +0x46, 0x7711ba\nADD.W           R9, SP, #0x38+var_10                                   ; +0x48, 0x7711bc\nSTR             R4, [SP,#0x38+var_18]                                  ; +0x4c, 0x7711c0\nSTR             R4, [SP,#0x38+var_14]                                  ; +0x4e, 0x7711c2\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x50, 0x7711c4\nLDR             R1, =(aOk - 0x7711D4); \"OK\"                            ; +0x54, 0x7711c8\nMOV             R0, R9                                                 ; +0x56, 0x7711ca\nMOVS            R2, #2                                                 ; +0x58, 0x7711cc\nSTR             R4, [SP,#0x38+var_10]                                  ; +0x5a, 0x7711ce\nADD             R1, PC; \"OK\"                                           ; +0x5c, 0x7711d0\nSTR             R4, [SP,#0x38+var_C]                                   ; +0x5e, 0x7711d2\nSTR             R4, [SP,#0x38+var_8]                                   ; +0x60, 0x7711d4\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x62, 0x7711d6\nMOVS            R3, #0                                                 ; +0x66, 0x7711da\nSTR.W           R9, [SP,#0x38+var_38]; int                             ; +0x68, 0x7711dc\nSTR             R3, [SP,#0x38+var_2C]; float                           ; +0x6c, 0x7711e0\nMOV             R0, R10; int                                           ; +0x6e, 0x7711e2\nSTR             R4, [SP,#0x38+var_34]; char                            ; +0x70, 0x7711e4\nMOVS            R1, #1; int                                            ; +0x72, 0x7711e6\nSTR             R4, [SP,#0x38+var_30]; int                             ; +0x74, 0x7711e8\nMOV             R2, R7; int                                            ; +0x76, 0x7711ea\nSTR             R4, [SP,#0x38+var_28]; char                            ; +0x78, 0x7711ec\nMOV             R3, R8; int                                            ; +0x7a, 0x7711ee\nSTR             R4, [SP,#0x38+var_24]; char                            ; +0x7c, 0x7711f0\nBL              _ZN10SetIDPopup6createEiiiNSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEES6_bifbb; SetIDPopup::create(int,int,int,std::string,std::string,bool,int,float,bool,bool) ; +0x7e, 0x7711f2\nMOV             R4, R0                                                 ; +0x82, 0x7711f6\nMOV             R0, R9                                                 ; +0x84, 0x7711f8\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x86, 0x7711fa\nMOV             R0, R8                                                 ; +0x8a, 0x7711fe\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x8c, 0x771200\nLDR             R3, [R4]                                               ; +0x90, 0x771204\nADD.W           R5, R5, #0x20C                                         ; +0x92, 0x771206\nMOV             R0, R4                                                 ; +0x96, 0x77120a\nSTR.W           R5, [R4,#0x220]                                        ; +0x98, 0x77120c\nLDR.W           R3, [R3,#0x290]                                        ; +0x9c, 0x771210\nBLX             R3                                                     ; +0xa0, 0x771214\nB               loc_77122A                                             ; +0xa2, 0x771216\nMOV             R0, R9                                                 ; +0xa4, 0x771218\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xa6, 0x77121a\nB               loc_771220                                             ; +0xaa, 0x77121e\nMOV             R0, R8                                                 ; +0xac, 0x771220\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xae, 0x771222\nBL              __cxa_end_cleanup                                      ; +0xb2, 0x771226\nLDR             R2, [SP,#0x38+var_4]                                   ; +0xb6, 0x77122a\nLDR             R3, [R6]                                               ; +0xb8, 0x77122c\nCMP             R2, R3                                                 ; +0xba, 0x77122e\nBEQ             loc_771236                                             ; +0xbc, 0x771230\nBLX             __stack_chk_fail                                       ; +0xbe, 0x771232\nADD             SP, SP, #0x38 ; '8'                                    ; +0xc2, 0x771236\nPOP.W           {R4-R10,PC}                                            ; +0xc4, 0x771238", "xrefs": [], "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"}