{"type": "func", "start": 7757868, "end": 7758162, "name": "CreatorSettingsPopup::onDescription", "pseudocode": "// \n// CreatorSettingsPopup::onDescription from 0x76602c to 0x766152 (294 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:07 +0000\n// \n\nint __fastcall CreatorSettingsPopup::onDescription(CreatorSettingsPopup *this, cocos2d::CCObject *a2)\n{\n  EmoteSprite *v3; // r0\n  int v4; // r0\n  FLAlertLayer *v5; // r11\n  int *v6; // r0\n  int v7; // r3\n  _DWORD v9[3]; // [sp+18h] [bp+0h] BYREF\n  int v10[3]; // [sp+24h] [bp+Ch] BYREF\n  int v11[3]; // [sp+30h] [bp+18h] BYREF\n  int v12[3]; // [sp+3Ch] [bp+24h] BYREF\n  int v13[3]; // [sp+48h] [bp+30h] BYREF\n\n  std::string::basic_string(v13, *((_DWORD *)this + 181) + 292);\n  LevelTools::base64DecodeString(v9, v13);\n  std::string::~string((int)v13);\n  std::string::basic_string(v10, (int)v9);\n  memset(v11, 0, sizeof(v11));\n  std::string::__init(v11, \"Description\", 0xBu);\n  memset(v12, 0, sizeof(v12));\n  std::string::__init(v12, \"Update Description\", 0x12u);\n  memset(v13, 0, sizeof(v13));\n  v3 = (EmoteSprite *)std::string::__init(v13, \"Update\", 6u);\n  v4 = EmoteSprite::maxEmotesComment(v3);\n  v5 = SetTextPopup::create((int)v10, (int)v11, COERCE_FLOAT(180), (int)v12, (int)v13, 0, 0.0, 0, 4, v4);\n  std::string::~string((int)v13);\n  std::string::~string((int)v12);\n  std::string::~string((int)v11);\n  std::string::~string((int)v10);\n  v6 = *((int **)v5 + 131);\n  if ( v6 )\n    CCTextInputNode::setUnicodeText(v6, 1);\n  v7 = *(_DWORD *)v5;\n  *((_DWORD *)v5 + 142) = (char *)this + 720;\n  (*(void (__fastcall **)(FLAlertLayer *))(v7 + 656))(v5);\n  return std::string::~string((int)v9);\n}", "assembly": "; \n; CreatorSettingsPopup::onDescription from 0x76602c to 0x766152 (294 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:07 +0000\n; \nPUSH.W          {R4-R11,LR}                                            ; +0x0, 0x76602c\nSUB             SP, SP, #0x5C                                          ; +0x4, 0x766030\nLDR             R6, =(__stack_chk_guard_ptr - 0x766040)                ; +0x6, 0x766032\nADD             R4, SP, #0x5C+var_14                                   ; +0x8, 0x766034\nLDR.W           R1, [R0,#0x2D4]                                        ; +0xa, 0x766036\nADD             R7, SP, #0x18                                          ; +0xe, 0x76603a\nADD             R6, PC; __stack_chk_guard_ptr                          ; +0x10, 0x76603c\nLDR             R6, [R6]; __stack_chk_guard                            ; +0x12, 0x76603e\nMOV             R10, R0                                                ; +0x14, 0x766040\nADD.W           R1, R1, #0x124                                         ; +0x16, 0x766042\nMOV             R0, R4                                                 ; +0x1a, 0x766046\nLDR             R3, [R6]                                               ; +0x1c, 0x766048\nSTR             R3, [SP,#0x5C+var_8]                                   ; +0x1e, 0x76604a\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_; std::string::basic_string(std::string const&) ; +0x20, 0x76604c\nMOV             R0, R7                                                 ; +0x24, 0x766050\nMOV             R1, R4                                                 ; +0x26, 0x766052\nBL              _ZN10LevelTools18base64DecodeStringENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE; LevelTools::base64DecodeString(std::string) ; +0x28, 0x766054\nADD.W           R8, SP, #0x5C+var_38                                   ; +0x2c, 0x766058\nMOV             R0, R4                                                 ; +0x30, 0x76605c\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x32, 0x76605e\nMOV             R1, R7                                                 ; +0x36, 0x766062\nMOV             R0, R8                                                 ; +0x38, 0x766064\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_; std::string::basic_string(std::string const&) ; +0x3a, 0x766066\nADD.W           R9, SP, #0x5C+var_2C                                   ; +0x3e, 0x76606a\nLDR             R1, =(aDescription_0 - 0x76607A); \"Description\"        ; +0x42, 0x76606e\nMOVS            R3, #0                                                 ; +0x44, 0x766070\nMOVS            R2, #0xB                                               ; +0x46, 0x766072\nMOV             R0, R9                                                 ; +0x48, 0x766074\nADD             R1, PC; \"Description\"                                  ; +0x4a, 0x766076\nSTR             R3, [SP,#0x5C+var_2C]                                  ; +0x4c, 0x766078\nMOV             R5, R3                                                 ; +0x4e, 0x76607a\nSTR             R3, [SP,#0x5C+var_28]                                  ; +0x50, 0x76607c\nSTR             R3, [SP,#0x5C+var_24]                                  ; +0x52, 0x76607e\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x54, 0x766080\nSTR             R5, [SP,#0x5C+var_20]                                  ; +0x58, 0x766084\nMOVS            R2, #0x12                                              ; +0x5a, 0x766086\nSTR             R5, [SP,#0x5C+var_1C]                                  ; +0x5c, 0x766088\nSTR             R5, [SP,#0x5C+var_18]                                  ; +0x5e, 0x76608a\nADD             R5, SP, #0x5C+var_20                                   ; +0x60, 0x76608c\nLDR             R1, =(aUpdateDescript - 0x766096); \"Update Description\" ; +0x62, 0x76608e\nMOV             R0, R5                                                 ; +0x64, 0x766090\nADD             R1, PC; \"Update Description\"                           ; +0x66, 0x766092\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x68, 0x766094\nLDR             R1, =(aUpdate - 0x7660A4); \"Update\"                    ; +0x6c, 0x766098\nMOV             R0, R4                                                 ; +0x6e, 0x76609a\nMOVS            R2, #6                                                 ; +0x70, 0x76609c\nMOVS            R3, #0                                                 ; +0x72, 0x76609e\nADD             R1, PC; \"Update\"                                       ; +0x74, 0x7660a0\nSTR             R3, [SP,#0x5C+var_14]                                  ; +0x76, 0x7660a2\nSTR             R3, [SP,#0x5C+var_10]                                  ; +0x78, 0x7660a4\nSTR             R3, [SP,#0x5C+var_C]                                   ; +0x7a, 0x7660a6\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x7c, 0x7660a8\nBL              _ZN11EmoteSprite16maxEmotesCommentEv; EmoteSprite::maxEmotesComment(void) ; +0x80, 0x7660ac\nMOVS            R3, #0                                                 ; +0x84, 0x7660b0\nMOVS            R2, #0                                                 ; +0x86, 0x7660b2\nSTR             R3, [SP,#0x5C+var_58]; char                            ; +0x88, 0x7660b4\nMOV             R1, R9; int                                            ; +0x8a, 0x7660b6\nSTR             R2, [SP,#0x5C+var_54]; float                           ; +0x8c, 0x7660b8\nMOVS            R2, #0xB4; int                                         ; +0x8e, 0x7660ba\nSTR             R3, [SP,#0x5C+var_50]; char                            ; +0x90, 0x7660bc\nMOVS            R3, #4                                                 ; +0x92, 0x7660be\nSTR             R0, [SP,#0x5C+var_48]; int                             ; +0x94, 0x7660c0\nMOV             R0, R8; int                                            ; +0x96, 0x7660c2\nSTR             R3, [SP,#0x5C+var_4C]; int                             ; +0x98, 0x7660c4\nMOV             R3, R5; int                                            ; +0x9a, 0x7660c6\nSTR             R4, [SP,#0x5C+var_5C]; int                             ; +0x9c, 0x7660c8\nBL              _ZN12SetTextPopup6createENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEES6_iS6_S6_bfbii; SetTextPopup::create(std::string,std::string,int,std::string,std::string,bool,float,bool,int,int) ; +0x9e, 0x7660ca\nMOV             R11, R0                                                ; +0xa2, 0x7660ce\nMOV             R0, R4                                                 ; +0xa4, 0x7660d0\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xa6, 0x7660d2\nMOV             R0, R5                                                 ; +0xaa, 0x7660d6\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xac, 0x7660d8\nMOV             R0, R9                                                 ; +0xb0, 0x7660dc\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xb2, 0x7660de\nMOV             R0, R8                                                 ; +0xb6, 0x7660e2\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xb8, 0x7660e4\nLDR.W           R0, [R11,#0x20C]; this                                 ; +0xbc, 0x7660e8\nCBNZ            R0, loc_766104                                         ; +0xc0, 0x7660ec\nLDR.W           R3, [R11]                                              ; +0xc2, 0x7660ee\nADD.W           R2, R10, #0x2D0                                        ; +0xc6, 0x7660f2\nMOV             R0, R11                                                ; +0xca, 0x7660f6\nSTR.W           R2, [R11,#0x238]                                       ; +0xcc, 0x7660f8\nLDR.W           R3, [R3,#0x290]                                        ; +0xd0, 0x7660fc\nBLX             R3                                                     ; +0xd4, 0x766100\nB               loc_76610C                                             ; +0xd6, 0x766102\nMOVS            R1, #1; bool                                           ; +0xd8, 0x766104\nBL              _ZN15CCTextInputNode14setUnicodeTextEb; CCTextInputNode::setUnicodeText(bool) ; +0xda, 0x766106\nB               loc_7660EE                                             ; +0xde, 0x76610a\nMOV             R0, R7                                                 ; +0xe0, 0x76610c\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xe2, 0x76610e\nLDR             R2, [SP,#0x5C+var_8]                                   ; +0xe6, 0x766112\nLDR             R3, [R6]                                               ; +0xe8, 0x766114\nCMP             R2, R3                                                 ; +0xea, 0x766116\nBEQ             loc_76614C                                             ; +0xec, 0x766118\nBLX             __stack_chk_fail                                       ; +0xee, 0x76611a\nMOV             R0, R4                                                 ; +0xf2, 0x76611e\nB               loc_766144                                             ; +0xf4, 0x766120\nMOV             R0, R4                                                 ; +0xf6, 0x766122\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xf8, 0x766124\nB               loc_76612A                                             ; +0xfc, 0x766128\nMOV             R0, R5                                                 ; +0xfe, 0x76612a\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x100, 0x76612c\nB               loc_766132                                             ; +0x104, 0x766130\nMOV             R0, R9                                                 ; +0x106, 0x766132\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x108, 0x766134\nB               loc_76613A                                             ; +0x10c, 0x766138\nMOV             R0, R8                                                 ; +0x10e, 0x76613a\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x110, 0x76613c\nB               loc_766142                                             ; +0x114, 0x766140\nMOV             R0, R7                                                 ; +0x116, 0x766142\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x118, 0x766144\nBL              __cxa_end_cleanup                                      ; +0x11c, 0x766148\nADD             SP, SP, #0x5C ; '\\'                                    ; +0x120, 0x76614c\nPOP.W           {R4-R11,PC}                                            ; +0x122, 0x76614e", "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"}