{"type": "func", "start": 4297422960, "end": 4297423206, "name": "GJRequestCell::onDeleteRequest", "pseudocode": "// \n// GJRequestCell::onDeleteRequest from 0x100257870 to 0x100257966 (246 bytes)\n// \n// 1 xrefs:\n// > GJRequestCell::loadFromScore @ 0x10024c74d\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 GJRequestCell::onDeleteRequest(GJRequestCell *a1, cocos2d::CCObject *a2)\n{\n  GJUserScore *m_score; // rax\n  ButtonSprite **v3; // rbx\n  _QWORD v4[2]; // [rsp+0h] [rbp-20h] BYREF\n  void *__p; // [rsp+10h] [rbp-10h]\n\n  m_score = a1->m_score;\n  if ( m_score && m_score->m_accountID > 0 )\n  {\n    __p = operator new(0x40u);\n    v4[0] = 65;\n    v4[1] = 60;\n    strcpy((char *)__p, \"Are you sure you want to <cr>delete</c> this friend request?\");\n    v3 = (ButtonSprite **)FLAlertLayer::create(\n                            &a1->FLAlertLayerProtocol,\n                            \"Delete\",\n                            v4,\n                            \"Back\",\n                            \"Delete\",\n                            0,\n                            380.0,\n                            0.0,\n                            1.0);\n    if ( (v4[0] & 1) != 0 )\n      operator delete(__p);\n    ButtonSprite::updateBGImage(v3[75], \"GJ_button_06.png\");\n    (*(void (__fastcall **)(ButtonSprite **, __int64))&(*v3)->m_fVertexZ)(v3, 1);\n    (*(void (__fastcall **)(ButtonSprite **))&(*v3)[1].m_fTextureTop)(v3);\n  }\n}", "assembly": "; \n; GJRequestCell::onDeleteRequest from 0x100257870 to 0x100257966 (246 bytes)\n; \n; 1 xrefs:\n; > GJRequestCell::loadFromScore @ 0x10024c74d\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, 0x100257870\nmov     rbp, rsp                                                       ; +0x1, 0x100257871\npush    rbx                                                            ; +0x4, 0x100257874\nsub     rsp, 18h                                                       ; +0x5, 0x100257875\nmov     rax, [rdi+240h]                                                ; +0x9, 0x100257879\ntest    rax, rax                                                       ; +0x10, 0x100257880\njz      loc_10025795F                                                  ; +0x13, 0x100257883\ncmp     dword ptr [rax+178h], 0                                        ; +0x19, 0x100257889\njle     loc_10025795F                                                  ; +0x20, 0x100257890\nadd     rdi, 228h                                                      ; +0x26, 0x100257896\nmov     rbx, rdi                                                       ; +0x2d, 0x10025789d\nmov     edi, 40h ; '@'; __sz                                           ; +0x30, 0x1002578a0\ncall    __Znwm; operator new(ulong)                                    ; +0x35, 0x1002578a5\nmov     [rbp+__p], rax                                                 ; +0x3a, 0x1002578aa\nmov     [rbp+var_20], 41h ; 'A'                                        ; +0x3e, 0x1002578ae\nmov     [rbp+var_18], 3Ch ; '<'                                        ; +0x46, 0x1002578b6\nmovups  xmm0, xmmword ptr cs:aAreYouSureYouW_7+2Ch; \" friend request?\" ; +0x4e, 0x1002578be\nmovups  xmmword ptr [rax+2Ch], xmm0                                    ; +0x55, 0x1002578c5\nmovups  xmm0, xmmword ptr cs:aAreYouSureYouW_7+20h; \"ete</c> this friend request?\" ; +0x59, 0x1002578c9\nmovups  xmmword ptr [rax+20h], xmm0                                    ; +0x60, 0x1002578d0\nmovups  xmm0, xmmword ptr cs:aAreYouSureYouW_7+10h; \" want to <cr>delete</c> this friend req\"... ; +0x64, 0x1002578d4\nmovups  xmmword ptr [rax+10h], xmm0                                    ; +0x6b, 0x1002578db\nmovups  xmm0, xmmword ptr cs:aAreYouSureYouW_7; \"Are you sure you want to <cr>delete</c>\"... ; +0x6f, 0x1002578df\nmovups  xmmword ptr [rax], xmm0                                        ; +0x76, 0x1002578e6\nmov     byte ptr [rax+3Ch], 0                                          ; +0x79, 0x1002578e9\nlea     rcx, aBack; \"Back\"                                             ; +0x7d, 0x1002578ed\nlea     rsi, aDelete_0; \"Delete\"                                       ; +0x84, 0x1002578f4\nlea     rdx, [rbp+var_20]                                              ; +0x8b, 0x1002578fb\nmovss   xmm0, cs:dword_1008152BC                                       ; +0x8f, 0x1002578ff\nmovss   xmm2, cs:alpha                                                 ; +0x97, 0x100257907\nxorps   xmm1, xmm1                                                     ; +0x9f, 0x10025790f\nmov     rdi, rbx                                                       ; +0xa2, 0x100257912\nmov     r8, rsi                                                        ; +0xa5, 0x100257915\nxor     r9d, r9d                                                       ; +0xa8, 0x100257918\ncall    FLAlertLayer__create                                           ; +0xab, 0x10025791b\nmov     rbx, rax                                                       ; +0xb0, 0x100257920\ntest    byte ptr [rbp+var_20], 1                                       ; +0xb3, 0x100257923\njz      short loc_100257932                                            ; +0xb7, 0x100257927\nmov     rdi, [rbp+__p]; __p                                            ; +0xb9, 0x100257929\ncall    __ZdlPv; operator delete(void *)                               ; +0xbd, 0x10025792d\nmov     rdi, [rbx+258h]                                                ; +0xc2, 0x100257932\nlea     rsi, aGjButton06Png; \"GJ_button_06.png\"                        ; +0xc9, 0x100257939\ncall    ButtonSprite__updateBGImage                                    ; +0xd0, 0x100257940\nmov     rax, [rbx]                                                     ; +0xd5, 0x100257945\nmov     rdi, rbx                                                       ; +0xd8, 0x100257948\nmov     esi, 1                                                         ; +0xdb, 0x10025794b\ncall    qword ptr [rax+48h]                                            ; +0xe0, 0x100257950\nmov     rax, [rbx]                                                     ; +0xe3, 0x100257953\nmov     rdi, rbx                                                       ; +0xe6, 0x100257956\ncall    qword ptr [rax+508h]                                           ; +0xe9, 0x100257959\nadd     rsp, 18h                                                       ; +0xef, 0x10025795f\npop     rbx                                                            ; +0xf3, 0x100257963\npop     rbp                                                            ; +0xf4, 0x100257964\nretn                                                                   ; +0xf5, 0x100257965", "xrefs": ["GJRequestCell::loadFromScore @ 0x10024c74d"], "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"}