{"type": "func", "start": 4305068016, "end": 4305068320, "name": "AccountReviewPopup::onHistoryJump", "pseudocode": "// \n// AccountReviewPopup::onHistoryJump from 0x1009a1ff0 to 0x1009a2120 (304 bytes)\n// \n// 1 xrefs:\n// > sub_10099F240 @ 0x1009a00f8\n// \n// This function is hookable on this platform (idp: pc, 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 12:39:17 +0000\n// \n\n__int64 __fastcall AccountReviewPopup::onHistoryJump(__int64 a1, __int64 a2)\n{\n  __int64 result; // rax\n  int v3; // r14d\n  char *v4; // rbx\n  _BYTE *ModView; // rax\n\n  result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);\n  if ( (int)result > 0 )\n  {\n    v3 = result;\n    v4 = (char *)operator new(0x150u);\n    cocos2d::CCObject::CCObject((__int64)v4);\n    *(_QWORD *)v4 = off_100B6FDC8;\n    *(_OWORD *)(v4 + 56) = 0;\n    *(_OWORD *)(v4 + 72) = 0;\n    *(_OWORD *)(v4 + 88) = 0;\n    *(_OWORD *)(v4 + 104) = 0;\n    *(_OWORD *)(v4 + 120) = 0;\n    *(_OWORD *)(v4 + 136) = 0;\n    *(_OWORD *)(v4 + 152) = 0;\n    *((_DWORD *)v4 + 42) = 2;\n    *((_DWORD *)v4 + 52) = 0;\n    *((_QWORD *)v4 + 35) = 0;\n    *((_DWORD *)v4 + 72) = 0;\n    *((_QWORD *)v4 + 37) = 0;\n    *((_WORD *)v4 + 152) = 0;\n    *((_OWORD *)v4 + 11) = 0;\n    *(_OWORD *)(v4 + 189) = 0;\n    *(_OWORD *)(v4 + 216) = 0;\n    *(_OWORD *)(v4 + 232) = 0;\n    *(_OWORD *)(v4 + 248) = 0;\n    *((_WORD *)v4 + 132) = 0;\n    *(_DWORD *)(v4 + 271) = 0;\n    *((_DWORD *)v4 + 67) = 0;\n    *(_OWORD *)(v4 + 308) = 0;\n    *(_QWORD *)(v4 + 324) = 0;\n    cocos2d::CCObject::autorelease((__int64)v4);\n    *((_DWORD *)v4 + 14) = v3;\n    std::string::assign((std::string *)(v4 + 88), \"Conversation\");\n    ModView = ThreadViewPopup::createModView((__int64)v4, 0);\n    return (*(__int64 (__fastcall **)(_BYTE *))(*(_QWORD *)ModView + 1312LL))(ModView);\n  }\n  return result;\n}", "assembly": "; \n; AccountReviewPopup::onHistoryJump from 0x1009a1ff0 to 0x1009a2120 (304 bytes)\n; \n; 1 xrefs:\n; > sub_10099F240 @ 0x1009a00f8\n; \n; This function is hookable on this platform (idp: pc, 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 12:39:17 +0000\n; \npush    rbp                                                            ; +0x0, 0x1009a1ff0\nmov     rbp, rsp                                                       ; +0x1, 0x1009a1ff1\npush    r14                                                            ; +0x4, 0x1009a1ff4\npush    rbx                                                            ; +0x6, 0x1009a1ff6\nmov     rdi, rsi                                                       ; +0x7, 0x1009a1ff7\nmov     rax, [rsi]                                                     ; +0xa, 0x1009a1ffa\ncall    qword ptr [rax+40h]                                            ; +0xd, 0x1009a1ffd\ntest    eax, eax                                                       ; +0x10, 0x1009a2000\njle     loc_1009A211B                                                  ; +0x12, 0x1009a2002\nmov     r14d, eax                                                      ; +0x18, 0x1009a2008\nmov     edi, 150h; __sz                                                ; +0x1b, 0x1009a200b\ncall    __Znwm; operator new(ulong)                                    ; +0x20, 0x1009a2010\nmov     rbx, rax                                                       ; +0x25, 0x1009a2015\nmov     rdi, rax                                                       ; +0x28, 0x1009a2018\ncall    cocos2d__CCObject__CCObject                                    ; +0x2b, 0x1009a201b\nlea     rax, _ZTV15GJMessageThread; `vtable for'GJMessageThread        ; +0x30, 0x1009a2020\nadd     rax, 10h                                                       ; +0x37, 0x1009a2027\nmov     [rbx], rax                                                     ; +0x3b, 0x1009a202b\nxorps   xmm0, xmm0                                                     ; +0x3e, 0x1009a202e\nmovups  xmmword ptr [rbx+38h], xmm0                                    ; +0x41, 0x1009a2031\nmovups  xmmword ptr [rbx+48h], xmm0                                    ; +0x45, 0x1009a2035\nmovups  xmmword ptr [rbx+58h], xmm0                                    ; +0x49, 0x1009a2039\nmovups  xmmword ptr [rbx+68h], xmm0                                    ; +0x4d, 0x1009a203d\nmovups  xmmword ptr [rbx+78h], xmm0                                    ; +0x51, 0x1009a2041\nmovups  xmmword ptr [rbx+88h], xmm0                                    ; +0x55, 0x1009a2045\nmovups  xmmword ptr [rbx+98h], xmm0                                    ; +0x5c, 0x1009a204c\nmov     dword ptr [rbx+0A8h], 2                                        ; +0x63, 0x1009a2053\nmov     dword ptr [rbx+0D0h], 0                                        ; +0x6d, 0x1009a205d\nmov     qword ptr [rbx+118h], 0                                        ; +0x77, 0x1009a2067\nmov     dword ptr [rbx+120h], 0                                        ; +0x82, 0x1009a2072\nmov     qword ptr [rbx+128h], 0                                        ; +0x8c, 0x1009a207c\nmov     word ptr [rbx+130h], 0                                         ; +0x97, 0x1009a2087\nmovups  xmmword ptr [rbx+0B0h], xmm0                                   ; +0xa0, 0x1009a2090\nmovups  xmmword ptr [rbx+0BDh], xmm0                                   ; +0xa7, 0x1009a2097\nmovups  xmmword ptr [rbx+0D8h], xmm0                                   ; +0xae, 0x1009a209e\nmovups  xmmword ptr [rbx+0E8h], xmm0                                   ; +0xb5, 0x1009a20a5\nmovups  xmmword ptr [rbx+0F8h], xmm0                                   ; +0xbc, 0x1009a20ac\nmov     word ptr [rbx+108h], 0                                         ; +0xc3, 0x1009a20b3\nmov     dword ptr [rbx+10Fh], 0                                        ; +0xcc, 0x1009a20bc\nmov     dword ptr [rbx+10Ch], 0                                        ; +0xd6, 0x1009a20c6\nmovups  xmmword ptr [rbx+134h], xmm0                                   ; +0xe0, 0x1009a20d0\nmov     qword ptr [rbx+144h], 0                                        ; +0xe7, 0x1009a20d7\nmov     rdi, rbx                                                       ; +0xf2, 0x1009a20e2\ncall    cocos2d__CCObject__autorelease                                 ; +0xf5, 0x1009a20e5\nmov     [rbx+38h], r14d                                                ; +0xfa, 0x1009a20ea\nmov     rdi, rbx                                                       ; +0xfe, 0x1009a20ee\nadd     rdi, 58h ; 'X'; this                                           ; +0x101, 0x1009a20f1\nlea     rsi, aConversation; \"Conversation\"                             ; +0x105, 0x1009a20f5\ncall    __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc; std::string::assign(char const*) ; +0x10c, 0x1009a20fc\nmov     rdi, rbx                                                       ; +0x111, 0x1009a2101\nxor     esi, esi                                                       ; +0x114, 0x1009a2104\ncall    ThreadViewPopup__createModView                                 ; +0x116, 0x1009a2106\nmov     rcx, [rax]                                                     ; +0x11b, 0x1009a210b\nmov     rdi, rax                                                       ; +0x11e, 0x1009a210e\npop     rbx                                                            ; +0x121, 0x1009a2111\npop     r14                                                            ; +0x122, 0x1009a2112\npop     rbp                                                            ; +0x124, 0x1009a2114\njmp     qword ptr [rcx+520h]                                           ; +0x125, 0x1009a2115\npop     rbx                                                            ; +0x12b, 0x1009a211b\npop     r14                                                            ; +0x12c, 0x1009a211c\npop     rbp                                                            ; +0x12e, 0x1009a211e\nretn                                                                   ; +0x12f, 0x1009a211f", "xrefs": ["sub_10099F240 @ 0x1009a00f8"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}