{"type": "func", "start": 7992832, "end": 7992930, "name": "CommentOptionsPopup::onCopy", "pseudocode": "// \n// CommentOptionsPopup::onCopy from 0x79f600 to 0x79f662 (98 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:52 +0000\n// \n\nint __fastcall CommentOptionsPopup::onCopy(CommentOptionsPopup *this, cocos2d::CCObject *a2)\n{\n  int v3[3]; // [sp+4h] [bp-1Ch] BYREF\n  int v4[3]; // [sp+10h] [bp-10h] BYREF\n\n  std::string::basic_string(v3, *((_DWORD *)this + 178) + 264);\n  GameToolbox::stripNonBreakingSpaces(v3);\n  std::string::basic_string(v4, (int)v3);\n  PlatformToolbox::copyToClipboard((int)v4);\n  std::string::~string((int)v4);\n  return std::string::~string((int)v3);\n}", "assembly": "; \n; CommentOptionsPopup::onCopy from 0x79f600 to 0x79f662 (98 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:52 +0000\n; \nPUSH            {R4-R6,LR}                                             ; +0x0, 0x79f600\nSUB             SP, SP, #0x20                                          ; +0x2, 0x79f602\nLDR             R4, =(__stack_chk_guard_ptr - 0x79F610)                ; +0x4, 0x79f604\nADD             R5, SP, #0x20+var_1C                                   ; +0x6, 0x79f606\nLDR.W           R1, [R0,#0x2C8]                                        ; +0x8, 0x79f608\nADD             R4, PC; __stack_chk_guard_ptr                          ; +0xc, 0x79f60c\nLDR             R4, [R4]; __stack_chk_guard                            ; +0xe, 0x79f60e\nMOV             R0, R5                                                 ; +0x10, 0x79f610\nADD.W           R1, R1, #0x108                                         ; +0x12, 0x79f612\nLDR             R3, [R4]                                               ; +0x16, 0x79f616\nSTR             R3, [SP,#0x20+var_4]                                   ; +0x18, 0x79f618\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_; std::string::basic_string(std::string const&) ; +0x1a, 0x79f61a\nMOV             R0, R5                                                 ; +0x1e, 0x79f61e\nBL              _ZN11GameToolbox22stripNonBreakingSpacesERNSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE; GameToolbox::stripNonBreakingSpaces(std::string &) ; +0x20, 0x79f620\nADD             R6, SP, #0x20+var_10                                   ; +0x24, 0x79f624\nMOV             R1, R5                                                 ; +0x26, 0x79f626\nMOV             R0, R6                                                 ; +0x28, 0x79f628\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_; std::string::basic_string(std::string const&) ; +0x2a, 0x79f62a\nMOV             R0, R6                                                 ; +0x2e, 0x79f62e\nBL              _ZN15PlatformToolbox15copyToClipboardENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE; PlatformToolbox::copyToClipboard(std::string) ; +0x30, 0x79f630\nMOV             R0, R6                                                 ; +0x34, 0x79f634\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x36, 0x79f636\nMOV             R0, R5                                                 ; +0x3a, 0x79f63a\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x3c, 0x79f63c\nLDR             R2, [SP,#0x20+var_4]                                   ; +0x40, 0x79f640\nLDR             R3, [R4]                                               ; +0x42, 0x79f642\nCMP             R2, R3                                                 ; +0x44, 0x79f644\nBEQ             loc_79F65E                                             ; +0x46, 0x79f646\nBLX             __stack_chk_fail                                       ; +0x48, 0x79f648\nMOV             R0, R6                                                 ; +0x4c, 0x79f64c\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x4e, 0x79f64e\nB               loc_79F654                                             ; +0x52, 0x79f652\nMOV             R0, R5                                                 ; +0x54, 0x79f654\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x56, 0x79f656\nBL              __cxa_end_cleanup                                      ; +0x5a, 0x79f65a\nADD             SP, SP, #0x20 ; ' '                                    ; +0x5e, 0x79f65e\nPOP             {R4-R6,PC}                                             ; +0x60, 0x79f660", "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"}