; ; EndLevelLayer::getCoinString from 0x1002f6f8c to 0x1002f7134 (424 bytes) ; ; 1 xrefs: ; > EndLevelLayer::customSetup @ 0x1002f6338 ; ; 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, #0x60 ; +0x0, 0x1002f6f8c STP X24, X23, [SP,#0x50+var_30] ; +0x4, 0x1002f6f90 STP X22, X21, [SP,#0x50+var_20] ; +0x8, 0x1002f6f94 STP X20, X19, [SP,#0x50+var_10] ; +0xc, 0x1002f6f98 STP X29, X30, [SP,#0x50+var_s0] ; +0x10, 0x1002f6f9c ADD X29, SP, #0x50 ; +0x14, 0x1002f6fa0 MOV X19, X8 ; +0x18, 0x1002f6fa4 LDR X8, [X0,#0x260] ; +0x1c, 0x1002f6fa8 CBZ X8, loc_1002F703C ; +0x20, 0x1002f6fac MOV X20, X0 ; +0x24, 0x1002f6fb0 ADRL X1, aCyAllCCoins; "all coins" ; +0x28, 0x1002f6fb4 ADD X21, SP, #0x50+var_48 ; +0x30, 0x1002f6fbc ADD X0, SP, #0x50+var_48; int ; +0x34, 0x1002f6fc0 BL sub_100009900 ; +0x38, 0x1002f6fc4 LDR X8, [X20,#0x260] ; +0x3c, 0x1002f6fc8 LDR X8, [X8,#0x790] ; +0x40, 0x1002f6fcc LDR W9, [X8,#0x37C] ; +0x44, 0x1002f6fd0 LDR W10, [X8,#0x380] ; +0x48, 0x1002f6fd4 SUB W24, W9, W10 ; +0x4c, 0x1002f6fd8 LDR W9, [X8,#0x388] ; +0x50, 0x1002f6fdc LDR W10, [X8,#0x38C] ; +0x54, 0x1002f6fe0 SUB W23, W9, W10 ; +0x58, 0x1002f6fe4 LDR W9, [X8,#0x394] ; +0x5c, 0x1002f6fe8 LDR W10, [X8,#0x398] ; +0x60, 0x1002f6fec SUB W22, W9, W10 ; +0x64, 0x1002f6ff0 CMP W24, #1 ; +0x68, 0x1002f6ff4 LDR W8, [X8,#0x350] ; +0x6c, 0x1002f6ff8 CCMP W23, #1, #4, NE ; +0x70, 0x1002f6ffc CCMP W22, #1, #4, NE ; +0x74, 0x1002f7000 CSET W9, EQ ; +0x78, 0x1002f7004 CMP W8, #2 ; +0x7c, 0x1002f7008 CCMP W9, #0, #4, GE ; +0x80, 0x1002f700c B.EQ loc_1002F70DC ; +0x84, 0x1002f7010 ADRL X1, aCoin; "coin " ; +0x88, 0x1002f7014 ADD X0, SP, #0x50+var_48; this ; +0x90, 0x1002f701c BL __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc; std::string::assign(char const*) ; +0x94, 0x1002f7020 CMP W24, #1 ; +0x98, 0x1002f7024 B.NE loc_1002F7060 ; +0x9c, 0x1002f7028 CMP W23, #1 ; +0xa0, 0x1002f702c B.NE loc_1002F7088 ; +0xa4, 0x1002f7030 MOV W8, #1 ; +0xa8, 0x1002f7034 B loc_1002F709C ; +0xac, 0x1002f7038 ADRL X1, asc_100746688; "" ; +0xb0, 0x1002f703c MOV X0, X19; int ; +0xb8, 0x1002f7044 LDP X29, X30, [SP,#0x50+var_s0] ; +0xbc, 0x1002f7048 LDP X20, X19, [SP,#0x50+var_10] ; +0xc0, 0x1002f704c LDP X22, X21, [SP,#0x50+var_20] ; +0xc4, 0x1002f7050 LDP X24, X23, [SP,#0x50+var_30] ; +0xc8, 0x1002f7054 ADD SP, SP, #0x60 ; '`' ; +0xcc, 0x1002f7058 B sub_100009900 ; +0xd0, 0x1002f705c ADRL X1, aCy1C; "1" ; +0xd4, 0x1002f7060 ADD X0, SP, #0x50+var_48; this ; +0xdc, 0x1002f7068 BL __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6appendEPKc; std::string::append(char const*) ; +0xe0, 0x1002f706c CMP W23, #1 ; +0xe4, 0x1002f7070 B.EQ loc_1002F7098 ; +0xe8, 0x1002f7074 ADRL X1, asc_1006C9A07; ", " ; +0xec, 0x1002f7078 ADD X0, SP, #0x50+var_48; this ; +0xf4, 0x1002f7080 BL __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6appendEPKc; std::string::append(char const*) ; +0xf8, 0x1002f7084 ADRL X1, aCy2C; "2" ; +0xfc, 0x1002f7088 ADD X0, SP, #0x50+var_48; this ; +0x104, 0x1002f7090 BL __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6appendEPKc; std::string::append(char const*) ; +0x108, 0x1002f7094 MOV W8, #0 ; +0x10c, 0x1002f7098 CMP W22, #1 ; +0x110, 0x1002f709c B.EQ loc_1002F70DC ; +0x114, 0x1002f70a0 LDR X9, [X20,#0x260] ; +0x118, 0x1002f70a4 LDR X9, [X9,#0x790] ; +0x11c, 0x1002f70a8 LDR W9, [X9,#0x350] ; +0x120, 0x1002f70ac CMP W9, #3 ; +0x124, 0x1002f70b0 B.LT loc_1002F70DC ; +0x128, 0x1002f70b4 TBNZ W8, #0, loc_1002F70CC ; +0x12c, 0x1002f70b8 ADRL X1, asc_1006C9A07; ", " ; +0x130, 0x1002f70bc ADD X0, SP, #0x50+var_48; this ; +0x138, 0x1002f70c4 BL __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6appendEPKc; std::string::append(char const*) ; +0x13c, 0x1002f70c8 ADRL X1, aCy3C; "3" ; +0x140, 0x1002f70cc ADD X0, SP, #0x50+var_48; this ; +0x148, 0x1002f70d4 BL __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6appendEPKc; std::string::append(char const*) ; +0x14c, 0x1002f70d8 LDRSB W8, [SP,#0x50+var_48.__r_.__value_+0x17] ; +0x150, 0x1002f70dc LDR X9, [SP,#0x50+var_48] ; +0x154, 0x1002f70e0 CMP W8, #0 ; +0x158, 0x1002f70e4 CSEL X8, X9, X21, LT ; +0x15c, 0x1002f70e8 STR X8, [SP,#0x50+var_50] ; +0x160, 0x1002f70ec ADRL X0, aYouNeedToCgCol; "You need to collect %s to verif"... ; +0x164, 0x1002f70f0 BL sub_100268F4C ; +0x16c, 0x1002f70f8 BL cocos2d__CCString__getCString ; +0x170, 0x1002f70fc MOV X1, X0; __s ; +0x174, 0x1002f7100 MOV X0, X19; int ; +0x178, 0x1002f7104 BL sub_100009900 ; +0x17c, 0x1002f7108 LDRSB W8, [SP,#0x50+var_48.__r_.__value_+0x17] ; +0x180, 0x1002f710c TBZ W8, #0x1F, loc_1002F711C ; +0x184, 0x1002f7110 LDR X0, [SP,#0x50+var_48]; __p ; +0x188, 0x1002f7114 BL __ZdlPv; operator delete(void *) ; +0x18c, 0x1002f7118 LDP X29, X30, [SP,#0x50+var_s0] ; +0x190, 0x1002f711c LDP X20, X19, [SP,#0x50+var_10] ; +0x194, 0x1002f7120 LDP X22, X21, [SP,#0x50+var_20] ; +0x198, 0x1002f7124 LDP X24, X23, [SP,#0x50+var_30] ; +0x19c, 0x1002f7128 ADD SP, SP, #0x60 ; '`' ; +0x1a0, 0x1002f712c RET ; +0x1a4, 0x1002f7130