{"type": "func", "start": 5369463248, "end": 5369463558, "name": "CommentCell::FLAlert_Clicked", "pseudocode": "// \n// CommentCell::FLAlert_Clicked from 0x1400b81d0 to 0x1400b8306 (310 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1405482a8\n// > <???> @ 0x1406c7c5c\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\n// Hidden C++ exception states: #wind=2\nvoid CommentCell::FLAlert_Clicked(CommentCell *a1, FLAlertLayer *a2, bool a3)\n{\n  int *p_m_unknown2; // rbx\n  GameLevelManager *v7; // rcx\n  int *v8; // rdx\n  int v9; // r9d\n  CommentType v10; // r8d\n  void *v11; // [rsp+38h] [rbp+10h]\n  void *v12; // [rsp+38h] [rbp+10h]\n\n  if ( a2->getTag(a2) || !a3 )\n  {\n    a2->getTag(a2);\n  }\n  else\n  {\n    p_m_unknown2 = &a1[-1].TableViewCell::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::m_unknown2;\n    if ( *((_QWORD *)&a1[-1].TableViewCell::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::m_unknown2 + 74) )\n    {\n      v7 = (GameLevelManager *)qword_1406C2EC0;\n      if ( *((_BYTE *)p_m_unknown2 + 600) )\n      {\n        if ( !qword_1406C2EC0 )\n        {\n          v12 = operator new(0x3D0u);\n          qword_1406C2EC0 = sub_140141280(v12);\n          (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EC0 + 72LL))(qword_1406C2EC0);\n          v7 = (GameLevelManager *)qword_1406C2EC0;\n        }\n        v8 = *((int **)p_m_unknown2 + 74);\n        v9 = v8[101];\n        v10 = Account;\n      }\n      else\n      {\n        if ( !qword_1406C2EC0 )\n        {\n          v11 = operator new(0x3D0u);\n          qword_1406C2EC0 = sub_140141280(v11);\n          (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EC0 + 72LL))(qword_1406C2EC0);\n          v7 = (GameLevelManager *)qword_1406C2EC0;\n        }\n        v8 = *((int **)p_m_unknown2 + 74);\n        v9 = v8[99];\n        v10 = 0;\n      }\n      GameLevelManager::deleteComment(v7, v8[96], v10, v9);\n      *(_BYTE *)(*((_QWORD *)p_m_unknown2 + 74) + 440LL) = 1;\n      CommentCell::loadFromComment((CommentCell *)((char *)a1 - 568), *((GJComment **)p_m_unknown2 + 74));\n    }\n  }\n}", "assembly": "; \n; CommentCell::FLAlert_Clicked from 0x1400b81d0 to 0x1400b8306 (310 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1405482a8\n; > <???> @ 0x1406c7c5c\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1400b81d0\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x1400b81d5\npush    rdi                                                            ; +0xa, 0x1400b81da\nsub     rsp, 20h                                                       ; +0xb, 0x1400b81db\nmovzx   edi, r8b                                                       ; +0xf, 0x1400b81df\nmov     rbx, rdx                                                       ; +0x13, 0x1400b81e3\nmov     rsi, rcx                                                       ; +0x16, 0x1400b81e6\nmov     rax, [rdx]                                                     ; +0x19, 0x1400b81e9\nmov     rcx, rdx                                                       ; +0x1c, 0x1400b81ec\ncall    qword ptr [rax+38h]                                            ; +0x1f, 0x1400b81ef\ntest    eax, eax                                                       ; +0x22, 0x1400b81f2\njnz     loc_1400B82ED                                                  ; +0x24, 0x1400b81f4\ntest    dil, dil                                                       ; +0x2a, 0x1400b81fa\njz      loc_1400B82ED                                                  ; +0x2d, 0x1400b81fd\nlea     rbx, [rsi-238h]                                                ; +0x33, 0x1400b8203\ncmp     qword ptr [rbx+250h], 0                                        ; +0x3a, 0x1400b820a\njz      loc_1400B82F6                                                  ; +0x42, 0x1400b8212\nmov     rcx, cs:qword_1406C2EC0                                        ; +0x48, 0x1400b8218\ncmp     [rbx+258h], al                                                 ; +0x4f, 0x1400b821f\njnz     short loc_1400B826E                                            ; +0x55, 0x1400b8225\ntest    rcx, rcx                                                       ; +0x57, 0x1400b8227\njnz     short loc_1400B825B                                            ; +0x5a, 0x1400b822a\nmov     ecx, 3D0h; Size                                                ; +0x5c, 0x1400b822c\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x61, 0x1400b8231\nmov     [rsp+28h+arg_8], rax                                           ; +0x66, 0x1400b8236\nmov     rcx, rax                                                       ; +0x6b, 0x1400b823b\ncall    sub_140141280                                                  ; +0x6e, 0x1400b823e\nnop                                                                    ; +0x73, 0x1400b8243\nmov     cs:qword_1406C2EC0, rax                                        ; +0x74, 0x1400b8244\nmov     rdx, [rax]                                                     ; +0x7b, 0x1400b824b\nmov     rcx, rax                                                       ; +0x7e, 0x1400b824e\ncall    qword ptr [rdx+48h]                                            ; +0x81, 0x1400b8251\nmov     rcx, cs:qword_1406C2EC0                                        ; +0x84, 0x1400b8254\nmov     rdx, [rbx+250h]                                                ; +0x8b, 0x1400b825b\nmov     r9d, [rdx+18Ch]                                                ; +0x92, 0x1400b8262\nxor     r8d, r8d                                                       ; +0x99, 0x1400b8269\njmp     short loc_1400B82B6                                            ; +0x9c, 0x1400b826c\ntest    rcx, rcx                                                       ; +0x9e, 0x1400b826e\njnz     short loc_1400B82A2                                            ; +0xa1, 0x1400b8271\nmov     ecx, 3D0h; Size                                                ; +0xa3, 0x1400b8273\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xa8, 0x1400b8278\nmov     [rsp+28h+arg_8], rax                                           ; +0xad, 0x1400b827d\nmov     rcx, rax                                                       ; +0xb2, 0x1400b8282\ncall    sub_140141280                                                  ; +0xb5, 0x1400b8285\nnop                                                                    ; +0xba, 0x1400b828a\nmov     cs:qword_1406C2EC0, rax                                        ; +0xbb, 0x1400b828b\nmov     rdx, [rax]                                                     ; +0xc2, 0x1400b8292\nmov     rcx, rax                                                       ; +0xc5, 0x1400b8295\ncall    qword ptr [rdx+48h]                                            ; +0xc8, 0x1400b8298\nmov     rcx, cs:qword_1406C2EC0                                        ; +0xcb, 0x1400b829b\nmov     rdx, [rbx+250h]                                                ; +0xd2, 0x1400b82a2\nmov     r9d, [rdx+194h]                                                ; +0xd9, 0x1400b82a9\nmov     r8d, 1                                                         ; +0xe0, 0x1400b82b0\nmov     edx, [rdx+180h]                                                ; +0xe6, 0x1400b82b6\ncall    GameLevelManager__deleteComment                                ; +0xec, 0x1400b82bc\nmov     rax, [rbx+250h]                                                ; +0xf1, 0x1400b82c1\nmov     byte ptr [rax+1B8h], 1                                         ; +0xf8, 0x1400b82c8\nmov     rdx, [rbx+250h]                                                ; +0xff, 0x1400b82cf\nmov     rcx, rbx                                                       ; +0x106, 0x1400b82d6\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x109, 0x1400b82d9\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x10e, 0x1400b82de\nadd     rsp, 20h                                                       ; +0x113, 0x1400b82e3\npop     rdi                                                            ; +0x117, 0x1400b82e7\njmp     CommentCell__loadFromComment                                   ; +0x118, 0x1400b82e8\nmov     rax, [rbx]                                                     ; +0x11d, 0x1400b82ed\nmov     rcx, rbx                                                       ; +0x120, 0x1400b82f0\ncall    qword ptr [rax+38h]                                            ; +0x123, 0x1400b82f3\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x126, 0x1400b82f6\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x12b, 0x1400b82fb\nadd     rsp, 20h                                                       ; +0x130, 0x1400b8300\npop     rdi                                                            ; +0x134, 0x1400b8304\nretn                                                                   ; +0x135, 0x1400b8305", "xrefs": ["<???> @ 0x1405482a8", "<???> @ 0x1406c7c5c"], "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"}