; ; FriendsProfilePage::setupUsersBrowser from 0x1001d9590 to 0x1001d97e0 (592 bytes) ; ; 3 xrefs: ; > FriendsProfilePage::init @ 0x1001d93b4 ; > FriendsProfilePage::getUserListFinished @ 0x1001d982c ; > FriendsProfilePage::forceReloadList @ 0x1001d9a04 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; SUB SP, SP, #0x50 ; +0x0, 0x1001d9590 STP X22, X21, [SP,#0x40+var_20] ; +0x4, 0x1001d9594 STP X20, X19, [SP,#0x40+var_10] ; +0x8, 0x1001d9598 STP X29, X30, [SP,#0x40+var_s0] ; +0xc, 0x1001d959c ADD X29, SP, #0x40 ; +0x10, 0x1001d95a0 MOV X21, X2 ; +0x14, 0x1001d95a4 MOV X19, X1 ; +0x18, 0x1001d95a8 MOV X20, X0 ; +0x1c, 0x1001d95ac LDR X8, [X0,#0x2B0] ; +0x20, 0x1001d95b0 CBZ X8, loc_1001D95E4 ; +0x24, 0x1001d95b4 BL cocos2d__CCDirector__sharedDirector ; +0x28, 0x1001d95b8 LDR X8, [X0] ; +0x2c, 0x1001d95bc LDR X8, [X8,#0xA0] ; +0x30, 0x1001d95c0 BLR X8 ; +0x34, 0x1001d95c4 LDR X1, [X20,#0x2B0] ; +0x38, 0x1001d95c8 BL cocos2d__CCTouchDispatcher__unregisterForcePrio ; +0x3c, 0x1001d95cc LDR X0, [X20,#0x2B0] ; +0x40, 0x1001d95d0 LDR X8, [X0] ; +0x44, 0x1001d95d4 LDR X8, [X8,#0x208] ; +0x48, 0x1001d95d8 BLR X8 ; +0x4c, 0x1001d95dc STR XZR, [X20,#0x2B0] ; +0x50, 0x1001d95e0 BL cocos2d__CCDirector__sharedDirector ; +0x54, 0x1001d95e4 ADD X8, SP, #0x40+var_28 ; +0x58, 0x1001d95e8 BL cocos2d__CCDirector__getWinSize ; +0x5c, 0x1001d95ec CBZ X19, loc_1001D962C ; +0x60, 0x1001d95f0 CMP W21, #0 ; +0x64, 0x1001d95f4 MOV W8, #0x11 ; +0x68, 0x1001d95f8 MOV W9, #2 ; +0x6c, 0x1001d95fc CSEL W3, W9, W8, EQ ; +0x70, 0x1001d9600 MOV W8, #0x43440000 ; +0x74, 0x1001d9604 FMOV S0, W8 ; +0x78, 0x1001d9608 MOV W8, #0x43AA0000 ; +0x7c, 0x1001d960c FMOV S1, W8 ; +0x80, 0x1001d9610 FMOV S2, WZR ; +0x84, 0x1001d9614 MOV X0, X19 ; +0x88, 0x1001d9618 MOV X1, #0 ; +0x8c, 0x1001d961c MOV W2, #0 ; +0x90, 0x1001d9620 BL CustomListView__create ; +0x94, 0x1001d9624 B loc_1001D9630 ; +0x98, 0x1001d9628 MOV X0, #0 ; +0x9c, 0x1001d962c MOV W8, #0x43AA0000 ; +0xa0, 0x1001d9630 FMOV S0, W8 ; +0xa4, 0x1001d9634 MOV W8, #0x43440000 ; +0xa8, 0x1001d9638 FMOV S1, W8 ; +0xac, 0x1001d963c MOV X1, #0 ; +0xb0, 0x1001d9640 MOV W2, #0xFF3E72BF ; +0xb4, 0x1001d9644 MOV W3, #0 ; +0xbc, 0x1001d964c BL GJCommentListLayer__create ; +0xc0, 0x1001d9650 MOV X1, X0 ; +0xc4, 0x1001d9654 STR X0, [X20,#0x2B0] ; +0xc8, 0x1001d9658 LDR X0, [X20,#0x240] ; +0xcc, 0x1001d965c LDR X8, [X0] ; +0xd0, 0x1001d9660 LDR X8, [X8,#0x1B8] ; +0xd4, 0x1001d9664 BLR X8 ; +0xd8, 0x1001d9668 MOV W8, #0xC3AA0000 ; +0xdc, 0x1001d966c FMOV S0, W8 ; +0xe0, 0x1001d9670 LDP S1, S2, [SP,#0x40+var_28] ; +0xe4, 0x1001d9674 FADD S0, S1, S0 ; +0xe8, 0x1001d9678 FMOV S1, #0.5 ; +0xec, 0x1001d967c FMUL S0, S0, S1 ; +0xf0, 0x1001d9680 MOV W8, #0xC3440000 ; +0xf4, 0x1001d9684 FMOV S3, W8 ; +0xf8, 0x1001d9688 FADD S2, S2, S3 ; +0xfc, 0x1001d968c FMUL S1, S2, S1 ; +0x100, 0x1001d9690 FMOV S2, #-10.0 ; +0x104, 0x1001d9694 FADD S1, S1, S2 ; +0x108, 0x1001d9698 LDR X22, [X20,#0x2B0] ; +0x10c, 0x1001d969c FMOV S2, #5.0 ; +0x110, 0x1001d96a0 FADD S1, S1, S2 ; +0x114, 0x1001d96a4 ADD X0, SP, #0x40+var_30 ; +0x118, 0x1001d96a8 BL sub_100022980 ; +0x11c, 0x1001d96ac LDR X8, [X22] ; +0x120, 0x1001d96b0 LDR X8, [X8,#0xB8] ; +0x124, 0x1001d96b4 ADD X1, SP, #0x40+var_30 ; +0x128, 0x1001d96b8 MOV X0, X22 ; +0x12c, 0x1001d96bc BLR X8 ; +0x130, 0x1001d96c0 CBZ X19, loc_1001D9708 ; +0x134, 0x1001d96c4 CBNZ W21, loc_1001D9708 ; +0x138, 0x1001d96c8 MOV X0, X19 ; +0x13c, 0x1001d96cc BL sub_10024A36C ; +0x140, 0x1001d96d0 LDR X20, [X20,#0x2A8] ; +0x144, 0x1001d96d4 CBZ W0, loc_1001D9724 ; +0x148, 0x1001d96d8 MOV X0, X19 ; +0x14c, 0x1001d96dc BL sub_10024A36C ; +0x150, 0x1001d96e0 STR X0, [SP,#0x40+var_40] ; +0x154, 0x1001d96e4 ADRL X0, aTotalFriendsI; "Total friends: %i" ; +0x158, 0x1001d96e8 BL sub_100268F4C ; +0x160, 0x1001d96f0 BL cocos2d__CCString__getCString ; +0x164, 0x1001d96f4 MOV X1, X0 ; +0x168, 0x1001d96f8 LDR X8, [X20] ; +0x16c, 0x1001d96fc LDR X8, [X8,#0x390] ; +0x170, 0x1001d9700 B loc_1001D9734 ; +0x174, 0x1001d9704 LDR X0, [X20,#0x2A8] ; +0x178, 0x1001d9708 LDR X8, [X0] ; +0x17c, 0x1001d970c LDR X8, [X8,#0x390] ; +0x180, 0x1001d9710 ADRL X1, asc_1006B11F7; " " ; +0x184, 0x1001d9714 BLR X8 ; +0x18c, 0x1001d971c B loc_1001D97CC ; +0x190, 0x1001d9720 LDR X8, [X20] ; +0x194, 0x1001d9724 LDR X8, [X8,#0x390] ; +0x198, 0x1001d9728 ADRL X1, asc_1006B11F7; " " ; +0x19c, 0x1001d972c MOV X0, X20 ; +0x1a4, 0x1001d9734 BLR X8 ; +0x1a8, 0x1001d9738 MOV X0, X19 ; +0x1ac, 0x1001d973c BL sub_10024A36C ; +0x1b0, 0x1001d9740 CBZ W0, loc_1001D97CC ; +0x1b4, 0x1001d9744 BL GameManager__sharedState ; +0x1b8, 0x1001d9748 ADRL X1, aGeometryAchFri; "geometry.ach.friends01" ; +0x1bc, 0x1001d974c MOV W2, #0x64 ; 'd' ; +0x1c4, 0x1001d9754 MOV W3, #0 ; +0x1c8, 0x1001d9758 BL GameManager__reportAchievementWithID ; +0x1cc, 0x1001d975c MOV X0, X19 ; +0x1d0, 0x1001d9760 BL sub_10024A36C ; +0x1d4, 0x1001d9764 CMP W0, #0xA ; +0x1d8, 0x1001d9768 B.LT loc_1001D97CC ; +0x1dc, 0x1001d976c MOV X19, X0 ; +0x1e0, 0x1001d9770 BL GameManager__sharedState ; +0x1e4, 0x1001d9774 ADRL X1, aGeometryAchFri_0; "geometry.ach.friends02" ; +0x1e8, 0x1001d9778 MOV W2, #0x64 ; 'd' ; +0x1f0, 0x1001d9780 MOV W3, #0 ; +0x1f4, 0x1001d9784 BL GameManager__reportAchievementWithID ; +0x1f8, 0x1001d9788 CMP W19, #0x19 ; +0x1fc, 0x1001d978c B.CC loc_1001D97CC ; +0x200, 0x1001d9790 BL GameManager__sharedState ; +0x204, 0x1001d9794 ADRL X1, aGeometryAchFri_1; "geometry.ach.friends03" ; +0x208, 0x1001d9798 MOV W2, #0x64 ; 'd' ; +0x210, 0x1001d97a0 MOV W3, #0 ; +0x214, 0x1001d97a4 BL GameManager__reportAchievementWithID ; +0x218, 0x1001d97a8 CMP W19, #0x32 ; '2' ; +0x21c, 0x1001d97ac B.CC loc_1001D97CC ; +0x220, 0x1001d97b0 BL GameManager__sharedState ; +0x224, 0x1001d97b4 ADRL X1, aGeometryAchFri_2; "geometry.ach.friends04" ; +0x228, 0x1001d97b8 MOV W2, #0x64 ; 'd' ; +0x230, 0x1001d97c0 MOV W3, #0 ; +0x234, 0x1001d97c4 BL GameManager__reportAchievementWithID ; +0x238, 0x1001d97c8 LDP X29, X30, [SP,#0x40+var_s0] ; +0x23c, 0x1001d97cc LDP X20, X19, [SP,#0x40+var_10] ; +0x240, 0x1001d97d0 LDP X22, X21, [SP,#0x40+var_20] ; +0x244, 0x1001d97d4 ADD SP, SP, #0x50 ; 'P' ; +0x248, 0x1001d97d8 RET ; +0x24c, 0x1001d97dc