{"type": "func", "start": 3981704, "end": 3982048, "name": "FLAlertLayer::create", "pseudocode": "// \n// FLAlertLayer::create from 0x3cc188 to 0x3cc2e0 (344 bytes)\n// \n// 39 xrefs:\n// > FLAlertLayer::create @ 0x3cc32a\n// > FLAlertLayer::create @ 0x3cc39e\n// > GJMessageCell::onDeleteMessage @ 0x42814c\n// > LevelBrowserLayer::onProcessSelected @ 0x4a5110\n// > MusicDownloadManager::showTOS @ 0x56cb8c\n// > FriendRequestPopup::onIgnore @ 0x5d7652\n// > GJMessagePopup::onRemove @ 0x5d76e6\n// > GJWriteMessagePopup::onClearBody @ 0x5d778e\n// > GJWriteMessagePopup::onSend @ 0x5d9f14\n// > GJWriteMessagePopup::onSend @ 0x5d9f5a\n// > FriendRequestPopup::onBlock @ 0x5da496\n// > GJMessagePopup::onBlock @ 0x5da5c6\n// > InfoAlertButton::activate @ 0x5e8442\n// > MessagesProfilePage::onDeleteSelected @ 0x5efbfe\n// > FRequestProfilePage::onDeleteSelected @ 0x5f18de\n// > FRequestProfilePage::onDeleteSelected @ 0x5f1956\n// > ProfilePage::onBlockUser @ 0x5f7920\n// > ProfilePage::createUnfriendAlert @ 0x5f7b44\n// > ProfilePage::onFriend @ 0x5f7cb8\n// > MPLobbyLayer::onBtn1 @ 0x66a60a\n// > AudioAssetsBrowser::onInfo @ 0x6e1f8e\n// > AccountReviewPopup::onDeleteRow @ 0x7339ee\n// > AccountReviewPopup::onDeleteFilterRow @ 0x733b72\n// > AccountReviewPopup::confirmDeleteSelected @ 0x734bfa\n// > AccountReviewPopup::reviewChoicePicked @ 0x734d92\n// > AutoBackupPopup::onDeleteSelected @ 0x73c9ba\n// > AutoBackupOptionsPopup::onDeleteAll @ 0x73e63c\n// > AutoBackupOptionsPopup::onPrune @ 0x73ea66\n// > ThreadOptionsPopup::onLeave @ 0x74ba54\n// > ThreadOptionsPopup::onDismissRemoved @ 0x74bb1a\n// > ThreadOptionsPopup::onModLock @ 0x74bbfa\n// > ThreadOptionsPopup::onCancelRequest @ 0x74bca2\n// > InvitesPopup::declineInvite @ 0x74c632\n// > MemberListPopup::onRevokeInvite @ 0x74d836\n// > MemberListPopup::onKickMember @ 0x74d936\n// > MemberListPopup::onTransferOwner @ 0x74da46\n// > ThreadOptionsPopup::onHide @ 0x74db6a\n// > PlatformerControlsPopup::onInfo @ 0x79ddd0\n// > ReportPopup::onSubmit @ 0x79fe36\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:46:38 +0000\n// \n\nint *__fastcall FLAlertLayer::create(\n        int a1,\n        cocos2d::CCLabelBMFont *a2,\n        int a3,\n        ButtonSprite *a4,\n        ButtonSprite *a5,\n        float a6,\n        char a7,\n        int a8,\n        float a9)\n{\n  int *v13; // r4\n  GameManager *v14; // r6\n  int v15; // r3\n  int *v16; // r0\n  int v18[3]; // [sp+18h] [bp-14h] BYREF\n\n  v13 = (int *)operator new(0x208u);\n  cocos2d::CCLayerColor::CCLayerColor((cocos2d::CCLayerColor *)v13);\n  *v13 = (int)&off_C86768;\n  v13[66] = (int)&off_C86A10;\n  v13[67] = (int)&off_C86A48;\n  v13[68] = (int)&off_C86A54;\n  v13[69] = (int)&off_C86A64;\n  v13[70] = (int)&off_C86A78;\n  v13[79] = (int)&off_C86A90;\n  v13[83] = (int)&off_C86AD0;\n  v13[110] = (int)&off_C86AE0;\n  v13[111] = 0;\n  v13[112] = 0;\n  v13[113] = 0;\n  *((_BYTE *)v13 + 456) = 0;\n  v13[115] = 0;\n  v13[116] = 0;\n  *((_BYTE *)v13 + 468) = 0;\n  *((_BYTE *)v13 + 469) = 0;\n  *((_BYTE *)v13 + 470) = 0;\n  *((_BYTE *)v13 + 471) = 0;\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v13 + 118));\n  v13[120] = 0;\n  v13[121] = 0;\n  v13[122] = 0;\n  *((_BYTE *)v13 + 496) = 0;\n  *((_BYTE *)v13 + 497) = 0;\n  *((_BYTE *)v13 + 504) = 0;\n  *((_BYTE *)v13 + 516) = 0;\n  v13[123] = -1;\n  v13[125] = -1;\n  v13[127] = 0;\n  v13[128] = 0;\n  std::string::basic_string(v18, a3);\n  v14 = FLAlertLayer::init(v13, a1, a2, (int)v18, a4, a5, a6, a7, a8, a9);\n  std::string::~string((int)v18);\n  if ( v14 )\n  {\n    cocos2d::CCObject::autorelease((cocos2d::CCObject *)v13);\n  }\n  else\n  {\n    v15 = *v13;\n    v16 = v13;\n    v13 = nullptr;\n    (*(void (__fastcall **)(int *))(v15 + 8))(v16);\n  }\n  return v13;\n}", "assembly": "; \n; FLAlertLayer::create from 0x3cc188 to 0x3cc2e0 (344 bytes)\n; \n; 39 xrefs:\n; > FLAlertLayer::create @ 0x3cc32a\n; > FLAlertLayer::create @ 0x3cc39e\n; > GJMessageCell::onDeleteMessage @ 0x42814c\n; > LevelBrowserLayer::onProcessSelected @ 0x4a5110\n; > MusicDownloadManager::showTOS @ 0x56cb8c\n; > FriendRequestPopup::onIgnore @ 0x5d7652\n; > GJMessagePopup::onRemove @ 0x5d76e6\n; > GJWriteMessagePopup::onClearBody @ 0x5d778e\n; > GJWriteMessagePopup::onSend @ 0x5d9f14\n; > GJWriteMessagePopup::onSend @ 0x5d9f5a\n; > FriendRequestPopup::onBlock @ 0x5da496\n; > GJMessagePopup::onBlock @ 0x5da5c6\n; > InfoAlertButton::activate @ 0x5e8442\n; > MessagesProfilePage::onDeleteSelected @ 0x5efbfe\n; > FRequestProfilePage::onDeleteSelected @ 0x5f18de\n; > FRequestProfilePage::onDeleteSelected @ 0x5f1956\n; > ProfilePage::onBlockUser @ 0x5f7920\n; > ProfilePage::createUnfriendAlert @ 0x5f7b44\n; > ProfilePage::onFriend @ 0x5f7cb8\n; > MPLobbyLayer::onBtn1 @ 0x66a60a\n; > AudioAssetsBrowser::onInfo @ 0x6e1f8e\n; > AccountReviewPopup::onDeleteRow @ 0x7339ee\n; > AccountReviewPopup::onDeleteFilterRow @ 0x733b72\n; > AccountReviewPopup::confirmDeleteSelected @ 0x734bfa\n; > AccountReviewPopup::reviewChoicePicked @ 0x734d92\n; > AutoBackupPopup::onDeleteSelected @ 0x73c9ba\n; > AutoBackupOptionsPopup::onDeleteAll @ 0x73e63c\n; > AutoBackupOptionsPopup::onPrune @ 0x73ea66\n; > ThreadOptionsPopup::onLeave @ 0x74ba54\n; > ThreadOptionsPopup::onDismissRemoved @ 0x74bb1a\n; > ThreadOptionsPopup::onModLock @ 0x74bbfa\n; > ThreadOptionsPopup::onCancelRequest @ 0x74bca2\n; > InvitesPopup::declineInvite @ 0x74c632\n; > MemberListPopup::onRevokeInvite @ 0x74d836\n; > MemberListPopup::onKickMember @ 0x74d936\n; > MemberListPopup::onTransferOwner @ 0x74da46\n; > ThreadOptionsPopup::onHide @ 0x74db6a\n; > PlatformerControlsPopup::onInfo @ 0x79ddd0\n; > ReportPopup::onSubmit @ 0x79fe36\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:46:38 +0000\n; \nPUSH.W          {R4-R11,LR}                                            ; +0x0, 0x3cc188\nMOV             R9, R3                                                 ; +0x4, 0x3cc18c\nLDR             R5, =(__stack_chk_guard_ptr - 0x3CC19C)                ; +0x6, 0x3cc18e\nSUB             SP, SP, #0x2C                                          ; +0x8, 0x3cc190\nMOV             R7, R0                                                 ; +0xa, 0x3cc192\nMOV.W           R0, #0x208; unsigned int                               ; +0xc, 0x3cc194\nADD             R5, PC; __stack_chk_guard_ptr                          ; +0x10, 0x3cc198\nLDR             R5, [R5]; __stack_chk_guard                            ; +0x12, 0x3cc19a\nMOV             R6, R1                                                 ; +0x14, 0x3cc19c\nMOV             R10, R2                                                ; +0x16, 0x3cc19e\nLDR.W           R8, [SP,#0x2C+arg_0]                                   ; +0x18, 0x3cc1a0\nLDR             R3, [R5]                                               ; +0x1c, 0x3cc1a4\nSTR             R3, [SP,#0x2C+var_8]                                   ; +0x1e, 0x3cc1a6\nBL              _Znwj; operator new(uint)                              ; +0x20, 0x3cc1a8\nMOV             R4, R0                                                 ; +0x24, 0x3cc1ac\nBL              _ZN7cocos2d12CCLayerColorC2Ev; cocos2d::CCLayerColor::CCLayerColor(void) ; +0x26, 0x3cc1ae\nLDR             R3, =(_ZTV12FLAlertLayer_ptr - 0x3CC1BC)               ; +0x2a, 0x3cc1b2\nADD.W           R0, R4, #0x1D8; this                                   ; +0x2c, 0x3cc1b4\nADD             R3, PC; _ZTV12FLAlertLayer_ptr                         ; +0x30, 0x3cc1b8\nLDR             R3, [R3]; `vtable for'FLAlertLayer ...                 ; +0x32, 0x3cc1ba\nADD.W           R2, R3, #8                                             ; +0x34, 0x3cc1bc\nSTR             R2, [R4]                                               ; +0x38, 0x3cc1c0\nADD.W           R2, R3, #0x2B0                                         ; +0x3a, 0x3cc1c2\nSTR.W           R2, [R4,#0x108]                                        ; +0x3e, 0x3cc1c6\nADD.W           R2, R3, #0x2E8                                         ; +0x42, 0x3cc1ca\nSTR.W           R2, [R4,#0x10C]                                        ; +0x46, 0x3cc1ce\nADD.W           R2, R3, #0x2F4                                         ; +0x4a, 0x3cc1d2\nSTR.W           R2, [R4,#0x110]                                        ; +0x4e, 0x3cc1d6\nADD.W           R2, R3, #0x304                                         ; +0x52, 0x3cc1da\nSTR.W           R2, [R4,#0x114]                                        ; +0x56, 0x3cc1de\nADD.W           R2, R3, #0x318                                         ; +0x5a, 0x3cc1e2\nSTR.W           R2, [R4,#0x118]                                        ; +0x5e, 0x3cc1e6\nADD.W           R2, R3, #0x330                                         ; +0x62, 0x3cc1ea\nSTR.W           R2, [R4,#0x13C]                                        ; +0x66, 0x3cc1ee\nADD.W           R2, R3, #0x370                                         ; +0x6a, 0x3cc1f2\nADD.W           R3, R3, #0x380                                         ; +0x6e, 0x3cc1f6\nSTR.W           R2, [R4,#0x14C]                                        ; +0x72, 0x3cc1fa\nSTR.W           R3, [R4,#0x1B8]                                        ; +0x76, 0x3cc1fe\nMOVS            R3, #0                                                 ; +0x7a, 0x3cc202\nSTR.W           R3, [R4,#0x1BC]                                        ; +0x7c, 0x3cc204\nMOV             R11, R3                                                ; +0x80, 0x3cc208\nSTR.W           R3, [R4,#0x1C0]                                        ; +0x82, 0x3cc20a\nSTR.W           R3, [R4,#0x1C4]                                        ; +0x86, 0x3cc20e\nSTRB.W          R3, [R4,#0x1C8]                                        ; +0x8a, 0x3cc212\nSTR.W           R3, [R4,#0x1CC]                                        ; +0x8e, 0x3cc216\nSTR.W           R3, [R4,#0x1D0]                                        ; +0x92, 0x3cc21a\nSTRB.W          R3, [R4,#0x1D4]                                        ; +0x96, 0x3cc21e\nSTRB.W          R3, [R4,#0x1D5]                                        ; +0x9a, 0x3cc222\nSTRB.W          R3, [R4,#0x1D6]                                        ; +0x9e, 0x3cc226\nSTRB.W          R3, [R4,#0x1D7]                                        ; +0xa2, 0x3cc22a\nBL              _ZN7cocos2d7CCPointC1Ev; cocos2d::CCPoint::CCPoint(void) ; +0xa6, 0x3cc22e\nSTR.W           R11, [R4,#0x1E0]                                       ; +0xaa, 0x3cc232\nMOV.W           R3, #0xFFFFFFFF                                        ; +0xae, 0x3cc236\nSTR.W           R11, [R4,#0x1E4]                                       ; +0xb2, 0x3cc23a\nMOV             R1, R10                                                ; +0xb6, 0x3cc23e\nSTR.W           R11, [R4,#0x1E8]                                       ; +0xb8, 0x3cc240\nSTRB.W          R11, [R4,#0x1F0]                                       ; +0xbc, 0x3cc244\nSTRB.W          R11, [R4,#0x1F1]                                       ; +0xc0, 0x3cc248\nSTRB.W          R11, [R4,#0x1F8]                                       ; +0xc4, 0x3cc24c\nSTRB.W          R11, [R4,#0x204]                                       ; +0xc8, 0x3cc250\nADD.W           R11, SP, #0x2C+var_14                                  ; +0xcc, 0x3cc254\nSTR.W           R3, [R4,#0x1EC]                                        ; +0xd0, 0x3cc258\nSTR.W           R3, [R4,#0x1F4]                                        ; +0xd4, 0x3cc25c\nMOV             R0, R11                                                ; +0xd8, 0x3cc260\nMOVS            R3, #0                                                 ; +0xda, 0x3cc262\nSTR.W           R3, [R4,#0x1FC]                                        ; +0xdc, 0x3cc264\nSTR.W           R3, [R4,#0x200]                                        ; +0xe0, 0x3cc268\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_; std::string::basic_string(std::string const&) ; +0xe4, 0x3cc26c\nLDR             R3, [SP,#0x2C+arg_4]                                   ; +0xe8, 0x3cc270\nSTR.W           R9, [SP,#0x2C+var_2C]; int                             ; +0xea, 0x3cc272\nMOV             R0, R4; int                                            ; +0xee, 0x3cc276\nSTR.W           R8, [SP,#0x2C+var_28]; int                             ; +0xf0, 0x3cc278\nMOV             R1, R7; int                                            ; +0xf4, 0x3cc27c\nSTR             R3, [SP,#0x2C+var_24]; float                           ; +0xf6, 0x3cc27e\nMOV             R2, R6; int                                            ; +0xf8, 0x3cc280\nLDRB.W          R3, [SP,#0x2C+arg_8]                                   ; +0xfa, 0x3cc282\nSTR             R3, [SP,#0x2C+var_20]; char                            ; +0xfe, 0x3cc286\nLDR             R3, [SP,#0x2C+arg_C]                                   ; +0x100, 0x3cc288\nSTR             R3, [SP,#0x2C+var_1C]; int                             ; +0x102, 0x3cc28a\nLDR             R3, [SP,#0x2C+arg_10]                                  ; +0x104, 0x3cc28c\nSTR             R3, [SP,#0x2C+var_18]; float                           ; +0x106, 0x3cc28e\nMOV             R3, R11; int                                           ; +0x108, 0x3cc290\nBL              _ZN12FLAlertLayer4initEP20FLAlertLayerProtocolPKcNSt6__ndk112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES3_S3_fbff; FLAlertLayer::init(FLAlertLayerProtocol *,char const*,std::string,char const*,char const*,float,bool,float,float) ; +0x10a, 0x3cc292\nMOV             R6, R0                                                 ; +0x10e, 0x3cc296\nMOV             R0, R11                                                ; +0x110, 0x3cc298\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x112, 0x3cc29a\nCBZ             R6, loc_3CC2B8                                         ; +0x116, 0x3cc29e\nMOV             R0, R4; this                                           ; +0x118, 0x3cc2a0\nBL              _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x11a, 0x3cc2a2\nB               loc_3CC2C2                                             ; +0x11e, 0x3cc2a6\nMOV             R0, R4; this                                           ; +0x120, 0x3cc2a8\nBL              _ZN7cocos2d12CCLayerColorD2Ev; cocos2d::CCLayerColor::~CCLayerColor() ; +0x122, 0x3cc2aa\nB               loc_3CC2D0                                             ; +0x126, 0x3cc2ae\nMOV             R0, R11                                                ; +0x128, 0x3cc2b0\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x12a, 0x3cc2b2\nB               loc_3CC2D6                                             ; +0x12e, 0x3cc2b6\nLDR             R3, [R4]                                               ; +0x130, 0x3cc2b8\nMOV             R0, R4                                                 ; +0x132, 0x3cc2ba\nMOV             R4, R6                                                 ; +0x134, 0x3cc2bc\nLDR             R3, [R3,#8]                                            ; +0x136, 0x3cc2be\nBLX             R3                                                     ; +0x138, 0x3cc2c0\nLDR             R2, [SP,#0x2C+var_8]                                   ; +0x13a, 0x3cc2c2\nMOV             R0, R4                                                 ; +0x13c, 0x3cc2c4\nLDR             R3, [R5]                                               ; +0x13e, 0x3cc2c6\nCMP             R2, R3                                                 ; +0x140, 0x3cc2c8\nBEQ             loc_3CC2DA                                             ; +0x142, 0x3cc2ca\nBLX             __stack_chk_fail                                       ; +0x144, 0x3cc2cc\nMOV             R0, R4; void *                                         ; +0x148, 0x3cc2d0\nBL              _ZdlPv; operator delete(void *)                        ; +0x14a, 0x3cc2d2\nBL              __cxa_end_cleanup                                      ; +0x14e, 0x3cc2d6\nADD             SP, SP, #0x2C ; ','                                    ; +0x152, 0x3cc2da\nPOP.W           {R4-R11,PC}                                            ; +0x154, 0x3cc2dc", "xrefs": ["FLAlertLayer::create @ 0x3cc32a", "FLAlertLayer::create @ 0x3cc39e", "GJMessageCell::onDeleteMessage @ 0x42814c", "LevelBrowserLayer::onProcessSelected @ 0x4a5110", "MusicDownloadManager::showTOS @ 0x56cb8c", "FriendRequestPopup::onIgnore @ 0x5d7652", "GJMessagePopup::onRemove @ 0x5d76e6", "GJWriteMessagePopup::onClearBody @ 0x5d778e", "GJWriteMessagePopup::onSend @ 0x5d9f14", "GJWriteMessagePopup::onSend @ 0x5d9f5a", "FriendRequestPopup::onBlock @ 0x5da496", "GJMessagePopup::onBlock @ 0x5da5c6", "InfoAlertButton::activate @ 0x5e8442", "MessagesProfilePage::onDeleteSelected @ 0x5efbfe", "FRequestProfilePage::onDeleteSelected @ 0x5f18de", "FRequestProfilePage::onDeleteSelected @ 0x5f1956", "ProfilePage::onBlockUser @ 0x5f7920", "ProfilePage::createUnfriendAlert @ 0x5f7b44", "ProfilePage::onFriend @ 0x5f7cb8", "MPLobbyLayer::onBtn1 @ 0x66a60a", "AudioAssetsBrowser::onInfo @ 0x6e1f8e", "AccountReviewPopup::onDeleteRow @ 0x7339ee", "AccountReviewPopup::onDeleteFilterRow @ 0x733b72", "AccountReviewPopup::confirmDeleteSelected @ 0x734bfa", "AccountReviewPopup::reviewChoicePicked @ 0x734d92", "AutoBackupPopup::onDeleteSelected @ 0x73c9ba", "AutoBackupOptionsPopup::onDeleteAll @ 0x73e63c", "AutoBackupOptionsPopup::onPrune @ 0x73ea66", "ThreadOptionsPopup::onLeave @ 0x74ba54", "ThreadOptionsPopup::onDismissRemoved @ 0x74bb1a", "ThreadOptionsPopup::onModLock @ 0x74bbfa", "ThreadOptionsPopup::onCancelRequest @ 0x74bca2", "InvitesPopup::declineInvite @ 0x74c632", "MemberListPopup::onRevokeInvite @ 0x74d836", "MemberListPopup::onKickMember @ 0x74d936", "MemberListPopup::onTransferOwner @ 0x74da46", "ThreadOptionsPopup::onHide @ 0x74db6a", "PlatformerControlsPopup::onInfo @ 0x79ddd0", "ReportPopup::onSubmit @ 0x79fe36"], "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"}